[issue39994] pprint handling of dict subclasses that override __repr__

Fred Drake report at bugs.python.org
Sat Aug 15 10:47:43 EDT 2020


Fred Drake <fdrake at gmail.com> added the comment:

And that is why the original code was checking not only for the type, but the actual __repr__ method itself.

I think the current behavior is broken.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39994>
_______________________________________


More information about the Python-bugs-list mailing list