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.
Created on 2015年04月02日 11:54 by vstinner, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg239907 - (view) | Author: STINNER Victor (vstinner) * (Python committer) | Date: 2015年04月02日 11:54 | |
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. |
|||
| msg239918 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2015年04月02日 14:26 | |
New changeset e54b23d7afa6 by Victor Stinner in branch '3.4': Issue #23851: close() must not be retried when it fails with EINTR https://hg.python.org/cpython/rev/e54b23d7afa6 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:15 | admin | set | github: 68039 |
| 2015年04月02日 14:26:43 | vstinner | set | status: open -> closed resolution: fixed versions: - Python 2.7 |
| 2015年04月02日 14:26:33 | python-dev | set | nosy:
+ python-dev messages: + msg239918 |
| 2015年04月02日 11:54:58 | vstinner | link | issue23648 dependencies |
| 2015年04月02日 11:54:34 | vstinner | create | |