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 asvetlov
Recipients asvetlov, docs@python, mikehoy
Date 2012-08-31.10:22:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346408561.03.0.817304013462.issue15829@psf.upfronthosting.co.za>
In-reply-to
Content
The problem is: threading.Lock raises ThreadingError (which is subclass of RuntimeError for 3.3 but not for 3.2), but threading.Condition raises RuntimeError for the same reason.

RLock behavior is even worse: it raises ThreadingError if C accelerator is available in _thread and RuntimeError otherwise.

I think RuntimeError should be replaced by ThreadingError for _RLock and Condition implementations as well as docs need to be updated.

Also I think this patch should be applied to 3.4 only, it is enchacement, not bugfix.
About fixing docs for 2.7-3.3: I see nothing wrong if current inconsistency will be documented, perhaps as *warning* or *note* block.
History
Date User Action Args
2012-08-31 10:22:41asvetlovsetrecipients: + asvetlov, docs@python, mikehoy
2012-08-31 10:22:41asvetlovsetmessageid: <1346408561.03.0.817304013462.issue15829@psf.upfronthosting.co.za>
2012-08-31 10:22:40asvetlovlinkissue15829 messages
2012-08-31 10:22:40asvetlovcreate