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 vstinner
Recipients neologix, pitrou, vstinner
Date 2014-07-20.09:37:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1405849068.72.0.598999866788.issue22015@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-07-20 09:37:48vstinnersetrecipients: + vstinner, pitrou, neologix
2014-07-20 09:37:48vstinnersetmessageid: <1405849068.72.0.598999866788.issue22015@psf.upfronthosting.co.za>
2014-07-20 09:37:48vstinnerlinkissue22015 messages
2014-07-20 09:37:48vstinnercreate