This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author petri.lehtinen
Recipients petri.lehtinen
Date 2012-06-06.10:40:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1338979213.38.0.308308399616.issue15017@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-06-06 10:40:13petri.lehtinensetrecipients: + petri.lehtinen
2012-06-06 10:40:13petri.lehtinensetmessageid: <1338979213.38.0.308308399616.issue15017@psf.upfronthosting.co.za>
2012-06-06 10:40:12petri.lehtinenlinkissue15017 messages
2012-06-06 10:40:12petri.lehtinencreate