Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

For all other classes we check that there is no user defined __repr__. But it 
is difficult to check this for dataclass or namedtuple because there is no base 
class for dataclasses or namedtuples which provides standard __repr__ 
implementation. All __repr__ for dataclasses and namedtuples are generated.

See issue7434.

----------

_______________________________________
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