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 iritkatriel
Recipients Aaron.Meurer, asmeurer, iritkatriel
Date 2020-11-04.22:24:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604528687.97.0.277682007521.issue30384@roundup.psfhosted.org>
In-reply-to
Content
I'm going to close this issue because it's not a bug.

I understand your question now, as well as the source of your confusion: you thought that traceback is "the thing that is printed to the screen when an exception is raised" and that __traceback__ is something that controls how it's printed.  Those are two misunderstandings and I can see why you thought, on that basis, that there is a bug.

The traceback is only part of what is printed to the screen when an exception is raised, and the __traceback__ field of an exception is a pointer to the actual traceback data.
History
Date User Action Args
2020-11-04 22:24:48iritkatrielsetrecipients: + iritkatriel, Aaron.Meurer, asmeurer
2020-11-04 22:24:47iritkatrielsetmessageid: <1604528687.97.0.277682007521.issue30384@roundup.psfhosted.org>
2020-11-04 22:24:47iritkatriellinkissue30384 messages
2020-11-04 22:24:47iritkatrielcreate