[issue10350] errno is read too late
report at bugs.python.org
Wed Jan 5 20:20:26 CET 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
The patch seems a bit confused at times. For example, you need to restore errno before calling PyErr_SetFromErrno().
Here is a new patch for py3k.
Added file: http://bugs.python.org/file20281/late_errno.patch
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list