Message223504
The signal module has a wakefd feature which calls write(fd) in a signal handler, but the signal handler replaces errno without saving/restoring it.
See "Practice 4" in this article:
http://www.ibm.com/developerworks/linux/library/l-reent/index.html
Attached patch fixes the issue for Python 3.5. The bug should be fixed in Python 2.7, 3.4 and 3.5. |
|
Date |
User |
Action |
Args |
2014-07-20 09:37:48 | vstinner | set | recipients:
+ vstinner, pitrou, neologix |
2014-07-20 09:37:48 | vstinner | set | messageid: <1405849068.72.0.598999866788.issue22015@psf.upfronthosting.co.za> |
2014-07-20 09:37:48 | vstinner | link | issue22015 messages |
2014-07-20 09:37:48 | vstinner | create | |
|