sys.stdout.write()'s bug or doc bug?

Aahz aahz at
Mon Jan 12 04:38:48 CET 2009

In article <f6fd0b02-effe-4be5-aeee-10d831f1c506 at>,
Qiangning Hong  <hongqn at> wrote:
>So, my question is, as sys.stdout IS a file object, why it does not
>use its encoding attribute to convert the given unicode?  An
>implementation bug? A documenation bug?

Please file a bug on -- that's the only way this can be
Aahz (aahz at           <*>

"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are, by
definition, not smart enough to debug it."  --Brian W. Kernighan

More information about the Python-list mailing list