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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, pakal, pitrou, ysj.ray
Date 2010-05-25.11:27:44
SpamBayes Score 7.119729e-05
Marked as misclassified No
Message-id <1274786866.68.0.14967502969.issue8765@psf.upfronthosting.co.za>
In-reply-to
Content
The 3.1 version does it correctly since issue7785, but this was not backported to 2.x.
Python 3.x uses the "y*" format code to accept bytes and not unicode; this code does not exist in 2.x, and was replaced with "s*", which accepts unicode.
But since the io module is designed up front to forbid default conversion between bytes and unicode, I think it's safe to change the code as suggested.
History
Date User Action Args
2010-05-25 11:27:46amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, pitrou, pakal, ysj.ray
2010-05-25 11:27:46amaury.forgeotdarcsetmessageid: <1274786866.68.0.14967502969.issue8765@psf.upfronthosting.co.za>
2010-05-25 11:27:45amaury.forgeotdarclinkissue8765 messages
2010-05-25 11:27:44amaury.forgeotdarccreate