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 <rep...@bugs.python.org>
<http://bugs.python.org/issue21137>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to