[Python-ideas] changing sys.stdout encoding

Stephen J. Turnbull stephen at xemacs.org
Wed Jun 13 10:35:59 CEST 2012

Guido van Rossum writes:

 > I'm not sure about a name, but it might well be called set_encoding().

I would still prefer "initialize_encoding" or something like that, but
the main thing I was worried about was a "consenting adults" function
that shouldn't be called after I/O, but *could* be.

More information about the Python-ideas mailing list