[issue24391] Better repr for threading objects

Terry J. Reedy report at bugs.python.org
Fri Jun 12 20:39:44 CEST 2015


Terry J. Reedy added the comment:

The Semaphore and BoundedSemphore examples show why including the module is helpful.  I prefer the function-call syntax, as long as it is accurate, even though the string as a whole cannot be eval()-ed.  In any case, threading and multiprocessing are somewhat 'parallel' modules, so their reps should follow the same pattern.

----------
nosy: +terry.reedy

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


More information about the Python-bugs-list mailing list