[Python-ideas] changing sys.stdout encoding
INADA Naoki
songofacandy at gmail.com
Tue Aug 7 02:51:54 CEST 2012
On Wed, Jun 13, 2012 at 5:35 PM, Stephen J. Turnbull <stephen at xemacs.org> wrote:
> 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.
I still don't understand why Python can't support using it after I/O.
Is this code wrong?
https://gist.github.com/3280063
--
INADA Naoki <songofacandy at gmail.com>
More information about the Python-ideas
mailing list