This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Bruce Eckel
Recipients Bruce Eckel
Date 2022-02-09.17:18:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1644427088.92.0.407820887742.issue46693@roundup.psfhosted.org>
In-reply-to
Content
When creating a dataclass using members of other classes that have overridden their __str__ methods, the __str__ method synthesized by the dataclass ignores the overridden __str__ methods in its component members.

Demonstrated in attached file.
History
Date User Action Args
2022-02-09 17:18:08Bruce Eckelsetrecipients: + Bruce Eckel
2022-02-09 17:18:08Bruce Eckelsetmessageid: <1644427088.92.0.407820887742.issue46693@roundup.psfhosted.org>
2022-02-09 17:18:08Bruce Eckellinkissue46693 messages
2022-02-09 17:18:08Bruce Eckelcreate