Author pitrou
Recipients eggy, pitrou
Date 2011-01-20.15:03:09
SpamBayes Score 0.0036194
Marked as misclassified No
Message-id <1295535790.75.0.294653219276.issue10956@psf.upfronthosting.co.za>
In-reply-to
Content
> file.write, on EINTR, could decide to continue writing if no Python
> signal handler raised an exception.
> Analogously, file.read could decide to keep on reading on EINTR if no
> Python signal handler raised an exception.

Ok. This would only be done in buffered mode, though, so your fwrite.py example would have to be changed slightly (drop the ",0" in fdopen()).
History
Date User Action Args
2011-01-20 15:03:10pitrousetrecipients: + pitrou, eggy
2011-01-20 15:03:10pitrousetmessageid: <1295535790.75.0.294653219276.issue10956@psf.upfronthosting.co.za>
2011-01-20 15:03:09pitroulinkissue10956 messages
2011-01-20 15:03:09pitroucreate