]> granicus.if.org Git - python/commit
use the with statement for locking the internal condition (closes #25362)
authorBenjamin Peterson <benjamin@python.org>
Sun, 11 Oct 2015 02:34:46 +0000 (19:34 -0700)
committerBenjamin Peterson <benjamin@python.org>
Sun, 11 Oct 2015 02:34:46 +0000 (19:34 -0700)
commit5f32b236f1f048b4a03dc677466cbdb15e1843de
tree6c815f0aadcdbb33a0bdc68a93304c8d92c6bbe2
parent4ed35fc4f31ebbdb25ba5e1291de77f4095c33d0
use the with statement for locking the internal condition (closes #25362)

Patch by Nir Soffer.
Lib/threading.py