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 asmeurer
Recipients Aaron.Meurer, asmeurer, iritkatriel
Date 2020-11-04.21:43:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1604526231.71.0.0344368745701.issue30384@roundup.psfhosted.org>
In-reply-to
Content
I don't think it's helpful to make such a literalistic interpretation. Just because the variable is called "traceback" doesn't mean it should apply only to the things that are *technically* a traceback (and I don't agree anyway that the line containing the exception isn't part of the "traceback").

> I guess you're saying that the __context__ exception of the TypeError in your example has an empty traceback, which means it was never raised

Does it mean that? Again, __traceback__ isn't documented anywhere, so I don't know what it being None really means.

All I know is that it apparently disables the printing of tracebacks in the traceback module, but fails to omit the exception line itself, leading to an unreadable traceback in my example.
History
Date User Action Args
2020-11-04 21:43:51asmeurersetrecipients: + asmeurer, Aaron.Meurer, iritkatriel
2020-11-04 21:43:51asmeurersetmessageid: <1604526231.71.0.0344368745701.issue30384@roundup.psfhosted.org>
2020-11-04 21:43:51asmeurerlinkissue30384 messages
2020-11-04 21:43:51asmeurercreate