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.

classification
Title: Buffered IO shouldn't ignore incoming signals during a partial write
Type: behavior Stage: resolved
Components: IO Versions: Python 3.1, Python 3.2, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: exarkun, loewis, pitrou, rnk
Priority: normal Keywords: patch

Created on 2010-08-15 21:28 by pitrou, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
sigbufio.patch pitrou, 2010-08-15 21:28
Messages (3)
msg114012 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-08-15 21:28
Prompted by Martin in #9611, here is a patch fixing the new buffered IO layer so that an incoming signal during a successful partial write() doesn't get ignored. Tests included.
msg114014 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-08-15 21:40
Another possibility is to do the check in the FileIO object instead. Both approaches give the same results for standard file descriptor IO.
msg114550 - (view) Author: Antoine Pitrou (pitrou) * (Python committer) Date: 2010-08-21 19:18
Issue fixed in r84239 (trunk), r84240 (2.7) and r84241 (3.1).
History
Date User Action Args
2022-04-11 14:57:05adminsetgithub: 53826
2010-08-21 19:18:53pitrousetstatus: open -> closed
resolution: fixed
messages: + msg114550

stage: patch review -> resolved
2010-08-15 21:40:50pitrousetmessages: + msg114014
2010-08-15 21:28:27pitroucreate