]> granicus.if.org Git - python/commit
Issue #11140: Lock.release() now raises a RuntimeError when attempting
authorAntoine Pitrou <solipsis@pitrou.net>
Mon, 28 Feb 2011 22:03:34 +0000 (22:03 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Mon, 28 Feb 2011 22:03:34 +0000 (22:03 +0000)
commitfcf81fd0310ba505c46d33a82f2b782578ed1a98
tree8cdb6d911947e46dd99ac99a08a82cb736c4006e
parentcfbcec3823892759017c1f3a1d1cb7fab4e84f69
Issue #11140: Lock.release() now raises a RuntimeError when attempting
to release an unacquired lock, as claimed in the threading documentation.
The _thread.error exception is now an alias of RuntimeError.
Doc/library/_thread.rst
Lib/test/test_threading.py
Misc/NEWS
Modules/_threadmodule.c