]> granicus.if.org Git - python/commit
Remove calls to currentThread() in _Condition methods that were side-effect.
authorBrett Cannon <bcannon@gmail.com>
Mon, 8 Mar 2004 22:18:57 +0000 (22:18 +0000)
committerBrett Cannon <bcannon@gmail.com>
Mon, 8 Mar 2004 22:18:57 +0000 (22:18 +0000)
commit4b6b7f151501eaee0af46220553c78607474e420
tree17a2e9e158add1dd3f27266dea0737370544467f
parent3fd500b4a5a49b2844f0c9cd64a663fd0f6eb2f1
Remove calls to currentThread() in _Condition methods that were side-effect.
Side-effects were deemed unnecessary and were causing problems at shutdown
time when threads were catching exceptions at start time and then triggering
exceptions trying to call currentThread() after gc'ed.  Masked the initial
exception which was deemed bad.

Fixes bug #754449 .
Lib/threading.py