Thomas Rachel <th.rac...@googlemail.com> added the comment:

I wonder if it is right what I wrote. After a second thought, the acquire() 
should come *after* try:, as well in threading.Event. Because if Ctrl-C is 
pressed while waiting in acquire(), a KeyboardInterrupt is thrown immediately 
after returning from acquire(). This lock must be release()d again in order to 
be consistent.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11714>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to