Message97685
With 2.7 I can reproduce the issue on Windows 7 (i.e. I get a ValueError).
However I'm not sure how common is to add a 'b' indiscriminately:
1) most of the times the modes are written as strings, and not generated automatically;
2) even if generated, checking if there's a 'b' is as easy as doing "if 'b' not in mode: mode = mode + 'b'".
For consistency both Windows and Linux should have the same behavior, and if the extra 'b' is not so common I think it's better if both raise an error. |
|
Date |
User |
Action |
Args |
2010-01-13 05:12:48 | ezio.melotti | set | recipients:
+ ezio.melotti, ivank |
2010-01-13 05:12:48 | ezio.melotti | set | messageid: <1263359568.48.0.837997098761.issue7686@psf.upfronthosting.co.za> |
2010-01-13 05:12:46 | ezio.melotti | link | issue7686 messages |
2010-01-13 05:12:46 | ezio.melotti | create | |
|