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

Reid Kleckner report at bugs.python.org
Sat Jul 10 19:28:19 CEST 2010


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

Here is a new version of a patch that updates recursive locks to have the same behavior.  The pure Python RLock implementaiton should be interruptible by virtue of the base lock acquire primitive being interruptible.

I've also updated the relevant documentation I could find.  I've surely missed some, though.

I also got rid of the _intr version of lock acquisition and simply added a new parameter to the _timed variant.  The only two callers of it are the ones I updated in the _thread module.

----------
Added file: http://bugs.python.org/file17931/lock-interrupt.diff

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


More information about the Python-bugs-list mailing list