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 neologix
Recipients davide.rizzo, ezio.melotti, neologix, sdaoden, vstinner
Date 2011-03-23.18:32:42
SpamBayes Score 1.0020675e-05
Marked as misclassified No
Message-id <1300905163.47.0.72975942018.issue11650@psf.upfronthosting.co.za>
In-reply-to
Content
my_fgets in Parser/myreadline.c is broken:
There's a comment saying that a fgets is retried on EINTR, but the code doesn't retry. It used to in older cPython versions, but there was also a bug, so my guess is that this bug has been here for a long time.
Could you try with the attached patch ?
It's just a quick'n dirty patch, but it should fix it.
History
Date User Action Args
2011-03-23 18:32:43neologixsetrecipients: + neologix, vstinner, ezio.melotti, davide.rizzo, sdaoden
2011-03-23 18:32:43neologixsetmessageid: <1300905163.47.0.72975942018.issue11650@psf.upfronthosting.co.za>
2011-03-23 18:32:42neologixlinkissue11650 messages
2011-03-23 18:32:42neologixcreate