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 remi.lapeyre
Recipients Bernat Gabor, remi.lapeyre
Date 2020-07-24.14:10:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1595599804.92.0.873186205562.issue41383@roundup.psfhosted.org>
In-reply-to
Content
Hi Bernat, have you looked into reprlib.repr()? It's an alternative implementation of repr() made for cases like this.

You may be interested in this PR too: https://github.com/python/cpython/pull/20925

Alternatively, I think pprint.pformat() may be useful for your purpose too.
History
Date User Action Args
2020-07-24 14:10:04remi.lapeyresetrecipients: + remi.lapeyre, Bernat Gabor
2020-07-24 14:10:04remi.lapeyresetmessageid: <1595599804.92.0.873186205562.issue41383@roundup.psfhosted.org>
2020-07-24 14:10:04remi.lapeyrelinkissue41383 messages
2020-07-24 14:10:04remi.lapeyrecreate