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

Antoine Pitrou report at bugs.python.org
Tue Mar 1 09:17:32 CET 2011


Antoine Pitrou <pitrou at free.fr> added the comment:

Hello,

> Shouldn't this be fixed in _dummy_thread too?
> 
> Attached patch contains fix + test.

Oops, thanks for noticing.

> (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.

You must run "./python" instead and it should work.

----------

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


More information about the Python-bugs-list mailing list