Antoine Pitrou <pit...@free.fr> added the comment: > > Most people use buffered I/O, and the buffered layer automatically retries. > > I see. I think this is already slightly problematic: if you send an > interrupt, it won't oblige. IMO, any such loop ought to be > interruptable.
Well, the loop stops when an error status is returned by the raw IO layer. At that point, the buffered IO layer re-raises the error after a bit of internal cleanup. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9611> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com