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, eric.smith
Date 2022-02-09.17:26:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAFmL1SAzQxLjSPgxgGUPj_eWhppsG_H+STdGvE=fji0m3x24yw@mail.gmail.com>
In-reply-to <1644427243.02.0.407905135746.issue46693@roundup.psfhosted.org>
Content
Oops. That does in fact work. How do I remove the bug report?

*Bruce Eckel*
HappyPathProgramming.com
SummerTechForum.com
MindViewLLC.com
Blog: BruceEckel.com
EvolveWork.co
WinterTechForum.com <http://www.WinterTechForum.com>
OnJava8.com <http://www.OnJava8.com>
www.AtomicKotlin.com
Reinventing-Business.com <http://www.Reinventing-Business.com>

On Wed, Feb 9, 2022 at 10:20 AM Eric V. Smith <report@bugs.python.org>
wrote:

>
> Eric V. Smith <eric@trueblade.com> added the comment:
>
> I believe dataclasses uses repr() of the members, not str(). Can you try
> using specifying __repr__ in Teacup? Just __repr__ = __str__ should work.
>
> ----------
> nosy: +eric.smith
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue46693>
> _______________________________________
>
History
Date User Action Args
2022-02-09 17:26:34Bruce Eckelsetrecipients: + Bruce Eckel
2022-02-09 17:26:34Bruce Eckellinkissue46693 messages
2022-02-09 17:26:34Bruce Eckelcreate