243
250
"""Return a file linked to stdout, which has proper encoding."""
244
251
assert self.encoding_type in ['strict', 'exact', 'replace']
246
258
# Originally I was using self.stdout, but that looks
247
259
# *way* too much like sys.stdout
248
260
if self.encoding_type == 'exact':