[issue11140] threading.Lock().release() raises _thread.error, not RuntimeError

aaugustin report at bugs.python.org
Tue Mar 1 08:26:45 CET 2011


aaugustin <aymeric.augustin at polyconseil.fr> added the comment:

Shouldn't this be fixed in _dummy_thread too?

Attached patch contains fix + test.

(Unfortunately, I was not able to run the tests with my patch: `python3.2 -m test.regrtest test_dummy_thread` tests my 'system' version, not my svn checkout.  I did not change the ticket flags either because I do not know the rules here - first time I work on Python...)

----------
Added file: http://bugs.python.org/file20954/11140.2.patch

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


More information about the Python-bugs-list mailing list