[docs] [issue14502] Document better what happens on releasing an unacquired lock

R. David Murray report at bugs.python.org
Sat Apr 7 04:32:17 CEST 2012


R. David Murray <rdmurray at bitdance.com> added the comment:

I, on the other hand, would prefer if it were made part of the API contract that an error is raised, and to fix any stdlib implementations *of that API* that don't conform to that.  (That is, locks from other modules may well not follow that API, and their documentation should cover their API.)

----------

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


More information about the docs mailing list