[issue29309] Interpreter hang when interrupting a loop.run_in_executor() future

2017-01-18 Thread Romain Sébille
Romain Sébille added the comment: Ok, thanks for the explanation! One thing still bother me, run_in_executor() allow us to launch blocking operations but without blocking the main thread, so there is a high chance that we wait inside one of the pool's worker. Does this mean run_in_exe

[issue29309] Interpreter hang when interrupting a loop.run_in_executor() future

2017-01-18 Thread Romain Sébille
New submission from Romain Sébille: Hi, I stumble on this today and can't find any reasons or previous issue as to why this happen so I thought of submitting the issue here. I attached a script (run_in_executor.py) to reproduce the problem, the original problem arise when waiting to re