[issue11194] "lock.__exit__ == lock.release" should be False

R. David Murray report at bugs.python.org
Fri Feb 11 22:57:55 CET 2011


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

Yeah, sometimes you just have to read the source.

Previous to Python3.2, RLock was implemented in Python, and the two methods are actually different methods there.  In Python3.2, rlock.release == rlock.__exit__ is True.

----------
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

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


More information about the Python-bugs-list mailing list