[issue30151] Race condition in use of _PyOS_SigintEvent on windows

2017-04-24 Thread Eryk Sun
Changes by Eryk Sun : -- components: +Windows nosy: +paul.moore, steve.dower, tim.golden, zach.ware type: -> behavior ___ Python tracker

[issue30151] Race condition in use of _PyOS_SigintEvent on windows

2017-04-24 Thread Nathaniel Smith
Nathaniel Smith added the comment: Oh, I should also say that this isn't actually affecting me, I just figured that once I was aware of the bug it was worth making a record here. Might be a good starter bug for someone trying to get into CPython's internals :-) --

[issue30151] Race condition in use of _PyOS_SigintEvent on windows

2017-04-24 Thread Nathaniel Smith
New submission from Nathaniel Smith: As pointed out in this stackoverflow answer: http://stackoverflow.com/a/43578450/ and since I seem to be collecting signal-handling bugs these days :-), there's a race condition in how the interpreter uses _PyOS_SigintEvent to allow control-C to break out