Ross Ridge wrote:
Helmut Jarausch <[EMAIL PROTECTED]> wrote:
# but this ugly one (to be done for each output file)
sys.stdout._encoding='latin1'
Is this writable "_encoding" attribute, with a leading underscore (_),
documented anywhere? Does it actually work? Would it happen to be
supported in 2.5 or 2.6? The fact that I can't change the encoding
attribute of sys.stdout/stderr/stdin has caused problems for me in
the past.
Yes, it does work in python-3.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
--
http://mail.python.org/mailman/listinfo/python-list