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 Guido.van.Rossum, asleep-cult, gvanrossum, iritkatriel
Date 2021-01-08.00:41:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610066505.77.0.441973169285.issue42848@roundup.psfhosted.org>
In-reply-to
Content
So, we have a contact chain of length almost equal to the recursion limit, which is too much to process recursively in python (in c it does work, hence the difference between the outputs of the OP's two scripts).

The PR removes recursion from TracebackException (in constructor as well as in format()).  The code is less readable and I'm not sure this case is worth that. Should we instead truncate the output, ie add a limit on the recursion depth?  (note that in this case this would remove the last "recursion depth exceeded" exception and show only some of the repetitive ones).
History
Date User Action Args
2021-01-08 00:41:46iritkatrielsetrecipients: + iritkatriel, gvanrossum, Guido.van.Rossum, asleep-cult
2021-01-08 00:41:45iritkatrielsetmessageid: <1610066505.77.0.441973169285.issue42848@roundup.psfhosted.org>
2021-01-08 00:41:45iritkatriellinkissue42848 messages
2021-01-08 00:41:45iritkatrielcreate