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 ezio.melotti
Recipients ezio.melotti, ivank
Date 2010-01-13.05:12:46
SpamBayes Score 4.3055554e-10
Marked as misclassified No
Message-id <1263359568.48.0.837997098761.issue7686@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2010-01-13 05:12:48ezio.melottisetrecipients: + ezio.melotti, ivank
2010-01-13 05:12:48ezio.melottisetmessageid: <1263359568.48.0.837997098761.issue7686@psf.upfronthosting.co.za>
2010-01-13 05:12:46ezio.melottilinkissue7686 messages
2010-01-13 05:12:46ezio.melotticreate