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 vstinner
Date 2015-04-02.11:54:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1427975674.16.0.24545541866.issue23851@psf.upfronthosting.co.za>
In-reply-to
Content
According to the PEP 475, the close() function must *not* be retried if it fails with EINTR:
- http://alobbs.com/post/54503240599/close-and-eintr
- http://lwn.net/Articles/576478/
- http://linux.derkeiler.com/Mailing-Lists/Kernel/2005-09/3000.html
- http://alobbs.com/post/54503240599/close-and-eintr

The _posixsubprocess retries close() when it fails with EINTR. Example:

    while (close(fd_num) < 0 && errno == EINTR);

It should be fixed.
History
Date User Action Args
2015-04-02 11:54:34vstinnersetrecipients: + vstinner
2015-04-02 11:54:34vstinnersetmessageid: <1427975674.16.0.24545541866.issue23851@psf.upfronthosting.co.za>
2015-04-02 11:54:34vstinnerlinkissue23851 messages
2015-04-02 11:54:33vstinnercreate