Petri Lehtinen <[email protected]> added the comment:
The docs of 2.7 and 3.2 still first say that RuntimeError is raised, and then
that a ThreadError is raised:
...
If an attempt is made to release an unlocked lock, a RuntimeError
will be raised.
...
Lock.release()
...
When invoked on an unlocked lock, a ThreadError is raised.
In 2.7 and 3.2, ThreadError is not a RuntimeError, so this is wrong.
----------
nosy: +petri.lehtinen
resolution: fixed ->
status: closed -> open
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue14502>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com