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 vstinner
Recipients brett.cannon, ncoghlan, pitrou, vstinner
Date 2011-10-16.21:09:24
SpamBayes Score 9.117582e-09
Marked as misclassified No
Message-id <1318799366.07.0.823683711487.issue13192@psf.upfronthosting.co.za>
In-reply-to
Content
_Py_fopen() returns NULL without raising an exception if fopen() fails.

Attached patch raises a OSError if fopen() if errno is different than ENOENT. I don't know if ENOENT is the right error number on Windows. Should we ignore more error numbers, like EACCESS?
History
Date User Action Args
2011-10-16 21:09:26vstinnersetrecipients: + vstinner, brett.cannon, ncoghlan, pitrou
2011-10-16 21:09:26vstinnersetmessageid: <1318799366.07.0.823683711487.issue13192@psf.upfronthosting.co.za>
2011-10-16 21:09:25vstinnerlinkissue13192 messages
2011-10-16 21:09:25vstinnercreate