python3 - the hardest hello world ever ?
Ross Ridge
rridge at csclub.uwaterloo.ca
Fri Oct 17 05:16:37 EDT 2008
Helmut Jarausch <jarausch at skynet.be> 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.
Ross Ridge
--
l/ // Ross Ridge -- The Great HTMU
[oo][oo] rridge at csclub.uwaterloo.ca
-()-/()/ http://www.csclub.uwaterloo.ca/~rridge/
db //
More information about the Python-list
mailing list