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 pitrou
Recipients brett.cannon, ncoghlan, pitrou, vstinner
Date 2011-10-16.21:19:13
SpamBayes Score 4.7856163e-12
Marked as misclassified No
Message-id <1318799721.3242.2.camel@localhost.localdomain>
In-reply-to <1318799366.07.0.823683711487.issue13192@psf.upfronthosting.co.za>
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.

It seems so.

>  Should we ignore more error numbers, like EACCESS?

I suggest also ignoring ENOTDIR and EISDIR. Not sure about EACCES.
History
Date User Action Args
2011-10-16 21:19:14pitrousetrecipients: + pitrou, brett.cannon, ncoghlan, vstinner
2011-10-16 21:19:13pitroulinkissue13192 messages
2011-10-16 21:19:13pitroucreate