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 Andre Merzky
Recipients Andre Merzky, eryksun, gslavin
Date 2016-09-06.07:35:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473147307.47.0.188957894652.issue27889@psf.upfronthosting.co.za>
In-reply-to
Content
Hi George, 

> From these results, it appears there is no guarentee that the signal handler will run before the main thread continues execution at the time.sleep(500) line.  This would explain why we advance to the else clause before the exception is raised.

To me it looks like the problem pops up *way* before the `sleep(100)` (or whatever) finishes, in fact it looks consistently like the sleep is indeed interrupted after one second.  I would it thus interpret differently, as the code should not be able to advance to the `else` clause at that time.

Is that different for you?
History
Date User Action Args
2016-09-06 07:35:07Andre Merzkysetrecipients: + Andre Merzky, eryksun, gslavin
2016-09-06 07:35:07Andre Merzkysetmessageid: <1473147307.47.0.188957894652.issue27889@psf.upfronthosting.co.za>
2016-09-06 07:35:07Andre Merzkylinkissue27889 messages
2016-09-06 07:35:07Andre Merzkycreate