[New-bugs-announce] [issue15017] threading.Lock documentation conflict
Petri Lehtinen
report at bugs.python.org
Wed Jun 6 12:40:13 CEST 2012
New submission from Petri Lehtinen <petri at digip.org>:
In the description of section 16.2.2. Lock objects:
If an attempt is made to release an unlocked lock, a RuntimeError
will be raised.
In the description of Lock.release():
When invoked on an unlocked lock, a ThreadError is raised.
Apparently, ThreadError is the correct exception.
----------
assignee: petri.lehtinen
components: Documentation, Library (Lib)
keywords: easy
messages: 162401
nosy: petri.lehtinen
priority: normal
severity: normal
status: open
title: threading.Lock documentation conflict
versions: Python 2.7
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15017>
_______________________________________
More information about the New-bugs-announce
mailing list