Andrey Vlasovskikh <[email protected]> added the comment:

Despite of several workarounds available on the Web, the problem persists. 
Almost any exception that is rised in `worker` function while putting or 
getting tasks from queues result in Pool hang up. Currently, `worker` is only 
aware of Exception descendants rised inside of the map function parameter.

I've written a unit test that checks if KeyboardInterrupts are handled 
normally. The source code may be included in `Lib/test/test_multiprocessing.py`.

----------
Added file: http://bugs.python.org/file16784/test_map_keyboard_interrput.py

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue8296>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to