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 pitrou
Recipients alanwilter, georg.brandl, neologix, pitrou
Date 2011-01-09.15:13:57
SpamBayes Score 0.00512307
Marked as misclassified No
Message-id <1294586041.23.0.803705323781.issue9504@psf.upfronthosting.co.za>
In-reply-to
Content
Charles-François' analysis seems to be right. Note that the actual issue here is that read() always succeeds, returning a partial result (because you're executing a command, 'find /', which outputs a lot of data). If read() were interrupted before anything could be read, it would return EINTR and the handler would get executed immediately.

Anyone wants to propose a patch + tests?
History
Date User Action Args
2011-01-09 15:14:01pitrousetrecipients: + pitrou, georg.brandl, neologix, alanwilter
2011-01-09 15:14:01pitrousetmessageid: <1294586041.23.0.803705323781.issue9504@psf.upfronthosting.co.za>
2011-01-09 15:13:57pitroulinkissue9504 messages
2011-01-09 15:13:57pitroucreate