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 Ilya Kamenshchikov, remi.lapeyre
Date 2020-08-04.16:59:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1596560344.26.0.719911748019.issue41478@roundup.psfhosted.org>
In-reply-to
Content
Hi, can you not use its repr:


>>> try: raise ValueError
... except Exception as e: print(f"Following happened: {e!r}")
...
Following happened: ValueError()

?
History
Date User Action Args
2020-08-04 16:59:04remi.lapeyresetrecipients: + remi.lapeyre, Ilya Kamenshchikov
2020-08-04 16:59:04remi.lapeyresetmessageid: <1596560344.26.0.719911748019.issue41478@roundup.psfhosted.org>
2020-08-04 16:59:04remi.lapeyrelinkissue41478 messages
2020-08-04 16:59:04remi.lapeyrecreate