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, giltay
Date 2008-09-25.17:26:44
SpamBayes Score 1.0847039e-05
Marked as misclassified No
Message-id <1222363607.81.0.103317669585.issue3965@psf.upfronthosting.co.za>
In-reply-to
Content
Confirmed here. This also happens on Windows when the mode is invalid:
    open(u"foobar", "rr")

Here is a patch, please review.

The problem does not affect py3k because open() is used in place of
fopen(), and the mode string is parsed differently.
History
Date User Action Args
2008-09-25 17:26:48amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, giltay
2008-09-25 17:26:47amaury.forgeotdarcsetmessageid: <1222363607.81.0.103317669585.issue3965@psf.upfronthosting.co.za>
2008-09-25 17:26:46amaury.forgeotdarclinkissue3965 messages
2008-09-25 17:26:45amaury.forgeotdarccreate