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 Tor.Colvin, lemburg, neologix, vstinner
Date 2014-06-17.09:25:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402997118.68.0.226193571894.issue21772@psf.upfronthosting.co.za>
In-reply-to
Content
"2.7.6 or 3.4.1 with OS X 10.8. I can only reproduce it an automated test environment when the load is high on the machine. I've also seen it with 10.6/10.7. It's definitely inconsistently reproducible."

I'm surprised that the Python read() method doesn't handle EINTR internally.

I'm in favor of handling EINTR internally almost everywhere, I mean in the Python modules implemented in the C, not in each call using these C methods. "handling EINTR" means calling PyErr_CheckSignals() which may raises a Python exception (ex: KeyboardInterrupt).
History
Date User Action Args
2014-06-17 09:25:18vstinnersetrecipients: + vstinner, lemburg, neologix, Tor.Colvin
2014-06-17 09:25:18vstinnersetmessageid: <1402997118.68.0.226193571894.issue21772@psf.upfronthosting.co.za>
2014-06-17 09:25:18vstinnerlinkissue21772 messages
2014-06-17 09:25:18vstinnercreate