Message269303
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). |
|
Date |
User |
Action |
Args |
2016-06-26 19:08:33 | Andre Merzky | set | recipients:
+ Andre Merzky, vstinner, neologix, takluyver, minrk |
2016-06-26 19:08:33 | Andre Merzky | set | messageid: <1466968113.56.0.192537009483.issue23395@psf.upfronthosting.co.za> |
2016-06-26 19:08:33 | Andre Merzky | link | issue23395 messages |
2016-06-26 19:08:33 | Andre Merzky | create | |
|