[issue21137] Better repr for threading.Lock()

Berker Peksag report at bugs.python.org
Thu Apr 3 04:14:28 CEST 2014


Berker Peksag added the comment:

Here's a patch with a test. Example repr of threading.Lock():

    $ ./python -c "import threading; print(threading.Lock())"
    <unlocked _thread.lock object>

----------
keywords: +patch
nosy: +berker.peksag
Added file: http://bugs.python.org/file34710/issue21137.diff

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


More information about the Python-bugs-list mailing list