Message145642
> _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. |
|
Date |
User |
Action |
Args |
2011-10-16 21:19:14 | pitrou | set | recipients:
+ pitrou, brett.cannon, ncoghlan, vstinner |
2011-10-16 21:19:13 | pitrou | link | issue13192 messages |
2011-10-16 21:19:13 | pitrou | create | |
|