[New-bugs-announce] [issue15829] Threading Lock - Wrong Exception Name

Mike Hoy report at bugs.python.org
Fri Aug 31 11:55:35 CEST 2012


New submission from Mike Hoy:

>From the Docs mailing list:

>Hi

>I found a bug in python docs which can be accessed at links:
>http://docs.python.org/library/threading.html#lock-objects
>http://docs.python.org/py3k/library/threading.html#lock-objects

>Bug is in second paragraph describing threading.Lock. I found that >statement:
>"If an attempt is made to release an unlocked lock, a RuntimeError will >be raised."
>Which is not true, name of exception is wrong it should be (and it >relay is) ThreadError (from threading module)

>Could someone fix it?

>-- 
>Br,
>Slawomir Kuszczynski

----------
messages: 169513
nosy: mikehoy
priority: normal
severity: normal
status: open
title: Threading Lock - Wrong Exception Name
versions: Python 2.7, Python 3.3

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue15829>
_______________________________________


More information about the New-bugs-announce mailing list