[issue21342] multiprocessing RLock and Lock raise incorrect exceptions when releasing an unlocked lock.

R. David Murray report at bugs.python.org
Wed May 14 15:55:57 CEST 2014


R. David Murray added the comment:

As a historical note, the docs are probably correct...but at some point relatively recently we fixed the inconsistency in what was raised in the thread and threading modules, but obviously no one noticed that multiprocessing had the same issue.  It could be that a comment should be added to the thread/threading code mentioning the multiprocessing clones, and vice versa.  Or perhaps the code can be unified?  I suspect the clones exist primarily because multiprocessing was originally an external project.

----------
nosy: +r.david.murray
stage:  -> patch review
versions:  -Python 2.7, Python 3.2, Python 3.4

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


More information about the Python-bugs-list mailing list