Eric V. Smith <e...@trueblade.com> added the comment:

Adding an attribute on the __repr__ (and other methods?) signifying that they 
were generated would let us distinguish them.

Say, checking getattr(__repr__, '__is_generated__', False), or similar.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43080>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to