[issue8844] Condition.wait() doesn't raise KeyboardInterrupt

Reid Kleckner report at bugs.python.org
Tue Jul 13 06:12:10 CEST 2010


Reid Kleckner <rnk at mit.edu> added the comment:

Alternatively, do you think it would be better to ignore interrupts when a timeout is passed?  If a timeout is passed, the lock acquire will eventually fail in a deadlock situation, and the signal will be handled in the eval loop.

However, if the timeout is sufficiently long, this is still a problem.

I'd prefer to do that or use gettimeofday from _time than leave this as is.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8844>
_______________________________________


More information about the Python-bugs-list mailing list