Bruce Eckel <brucetec...@gmail.com> added the comment:
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 <rep...@bugs.python.org> wrote: > > Eric V. Smith <e...@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 <rep...@bugs.python.org> > <https://bugs.python.org/issue46693> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue46693> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com