]> 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)
commit414918a939b02aa3f7048ba341a3f6862ab9a71e
treef52d5d7a768e191548de9fa9a79f690d9f2bc372
parentb397e3b526bc18eba9aa6ded2d53d9be51eb552d
use the with statement for locking the internal condition (closes #25362)

Patch by Nir Soffer.
Lib/threading.py