Message162417
| Author |
petri.lehtinen |
| Recipients |
Jim.Jewett, docs@python, georg.brandl, petri.lehtinen, pitrou, python-dev, r.david.murray, sandro.tosi, vinay.sajip |
| Date |
2012年06月06日.18:00:51 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1339005657.14.0.652294196637.issue14502@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|