[Python-3000] Displaying strings containing unicode escapes
Atsuo Ishimoto
ishimoto at gembook.org
Thu May 1 18:21:04 CEST 2008
On Thu, May 1, 2008 at 2:34 AM, Guido van Rossum <guido at python.org> wrote:
> This should be done with a new function, not added to print. Once you
> specify an encoding, you have to write to sys.stdout.buffer, which is
> the underlying binary stream; but you'd have to flush the
> TextIOWrapper and deal with incomplete codec state, and in general I
> don't think it's a good idea.
Thank you for your comment. I'll reconsider this part in the PEP.
More information about the Python-3000
mailing list