This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zuo
Recipients ggenellina, hongqn, pitrou, ssbarnea, steven.daprano, zuo
Date 2009-05-12.14:56:01
SpamBayes Score 0.00298946
Marked as misclassified No
Message-id <>
PS. The main problem is not a lack of feature but that inconsistency, 
and that's not documented if File type docs:

print >>my_file, my_unicode  # <- is encoded with my_file.encoding
my_file.write(my_unicode)  # <- is encoded with my_file.encoding

# and on the other hand:
print my_unicode -- works  # <- is encoded with my_file.encoding
sys.stdout.write(my_unicode)  # <- is encoded with what is returned by 
Date User Action Args
2009-05-12 14:56:03zuosetrecipients: + zuo, ggenellina, pitrou, hongqn, steven.daprano, ssbarnea
2009-05-12 14:56:03zuosetmessageid: <>
2009-05-12 14:56:02zuolinkissue4947 messages
2009-05-12 14:56:02zuocreate