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>