commit | fcf81fd0310ba505c46d33a82f2b782578ed1a98 | [log] [tgz] |
---|---|---|
author | Antoine Pitrou <solipsis@pitrou.net> | Mon Feb 28 22:03:34 2011 +0000 |
committer | Antoine Pitrou <solipsis@pitrou.net> | Mon Feb 28 22:03:34 2011 +0000 |
tree | 8cdb6d911947e46dd99ac99a08a82cb736c4006e | |
parent | cfbcec3823892759017c1f3a1d1cb7fab4e84f69 [diff] |
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.