Message106428
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. |
|
Date |
User |
Action |
Args |
2010-05-25 11:27:46 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, pitrou, pakal, ysj.ray |
2010-05-25 11:27:46 | amaury.forgeotdarc | set | messageid: <1274786866.68.0.14967502969.issue8765@psf.upfronthosting.co.za> |
2010-05-25 11:27:45 | amaury.forgeotdarc | link | issue8765 messages |
2010-05-25 11:27:44 | amaury.forgeotdarc | create | |
|