Steve Dower added the comment:

I didn't know about winerror_to_errno(), so that might help. But there are 
other dependencies on _Py_fstat's error code throughout posixmodule.c, so I 
don't think this is sufficient. (For example, patherror() is already switched 
on OS to handle it correctly. I gave up tracking down all the uses because it 
hurt more than the horrific condition in fileio.c.)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23524>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to