On Thu, May 1, 2008 at 2:34 AM, Guido van Rossum <[EMAIL PROTECTED]> 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. _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com