[issue21913] Possible deadlock in threading.Condition.wait() in Python 2.7.7

2014-07-03 Thread Sangeeth Saravanaraj
New submission from Sangeeth Saravanaraj: Python version 2.7.7 Mac OS Darwin Kernel Version 13.2.0 I have the following code which when executed waits to be interrupted by SIGINT, SIGTERM or SIGQUIT. When an object is initialized, it creates a threading.Condition() and acquires() it! The

[issue21913] Possible deadlock in threading.Condition.wait() in Python 2.7.7

2014-07-03 Thread Sangeeth Saravanaraj
Sangeeth Saravanaraj added the comment: I am convinced that the code is wrong. It was written with wrong assumptions. But Python 2.7 behaves differently compare to Python 3.4. I am not expecting the same behavior in Python 2.7 as in Python 3.4 but I am expecting that some form of exception is