]> granicus.if.org Git - python/commit
dummy_thread.acquire() would return None if no waitflag argument was given. It
authorBrett Cannon <bcannon@gmail.com>
Sun, 13 Jul 2008 01:15:07 +0000 (01:15 +0000)
committerBrett Cannon <bcannon@gmail.com>
Sun, 13 Jul 2008 01:15:07 +0000 (01:15 +0000)
commit3d0b9f095a1ccda7d6c04a9a1d05d245d8b82e26
tree15c369ccd303f5300f4eadd3e66bc1df63f933fa
parent0522a9f1eba72a7fdb6b5b6065872654f1d6becc
dummy_thread.acquire() would return None if no waitflag argument was given. It
should have returned True.

Fixes issue #3339. Thanks, Henk Punt for the report and Andrii v. Mishkovskiyi
for attempting a patch.
Lib/dummy_thread.py
Lib/test/test_dummy_thread.py
Misc/NEWS