[issue43080] pprint for dataclass instances
Raymond Hettinger
report at bugs.python.org
Mon Mar 15 21:26:34 EDT 2021
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
FWIW, we've not had a feature request for this ever, nor has there been a request for pprint to support attrs, nor any other hand-rolled class that implements methods similar to those generated by dataclasses. AFAICT, this tracker issue wasn't motivated by a known use case; rather, it was "my PR was accepted for SimpleNamespace and thought dataclasses could be the next."
In the absence of known use cases and user requests, I think we should let it be. Put me down for a -0.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43080>
_______________________________________
More information about the Python-bugs-list
mailing list