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 gvanrossum
Recipients JelleZijlstra, gvanrossum, iritkatriel
Date 2022-03-07.17:00:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646672443.14.0.355095953231.issue46949@roundup.psfhosted.org>
In-reply-to
Content
There is general confusion as to which part of the traceback is truncated. If I have main() -> f() -> g() -> error(), and the limit is 2, does it print main() -> f(), or does it print g() -> error()? (I'm not even sure which would be more useful.)

FWIW the reason I suggested printing "many" is a worry that somehow a bug could cause counting the length of the list to take forever (e.g. if it ends in a cycle). It would seem more robust to limit the count.
History
Date User Action Args
2022-03-07 17:00:43gvanrossumsetrecipients: + gvanrossum, JelleZijlstra, iritkatriel
2022-03-07 17:00:43gvanrossumsetmessageid: <1646672443.14.0.355095953231.issue46949@roundup.psfhosted.org>
2022-03-07 17:00:43gvanrossumlinkissue46949 messages
2022-03-07 17:00:43gvanrossumcreate