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, minrk, neologix, takluyver, vstinner
Date 2016-06-26.19:08:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1466968113.56.0.192537009483.issue23395@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is a patch which seems to resolve the issue for me -- this now triggers the expected `KeyboardInterrupt` in the main thread.  For verification one can run the unaltered code as provided by Thomas.

I would very much appreciate feedback, to make sure that the semantics is actually what one would expect.  The patch is against the 2.7 branch from https://github.com/python/cpython.git, and I did not test it against any other branch.

I also opened a pull request (https://github.com/python/cpython/pull/39).
History
Date User Action Args
2016-06-26 19:08:33Andre Merzkysetrecipients: + Andre Merzky, vstinner, neologix, takluyver, minrk
2016-06-26 19:08:33Andre Merzkysetmessageid: <1466968113.56.0.192537009483.issue23395@psf.upfronthosting.co.za>
2016-06-26 19:08:33Andre Merzkylinkissue23395 messages
2016-06-26 19:08:33Andre Merzkycreate