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.

classification
Title: Limit the number of chained exceptions included in formatted traceback
Type: enhancement Stage:
Components: Interpreter Core, Library (Lib) Versions: Python 3.11
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: gvanrossum, iritkatriel
Priority: normal Keywords:

Created on 2021-11-02 19:01 by iritkatriel, last changed 2022-04-11 14:59 by admin.

Messages (1)
msg405533 - (view) Author: Irit Katriel (iritkatriel) * (Python committer) Date: 2021-11-02 19:01
There is currently a limit on the number of frames in each traceback, but not on the number of chained exceptions displayed. This is why traceback.py avoids recursion (making the code more complex). A limit should probably be added.
History
Date User Action Args
2022-04-11 14:59:52adminsetgithub: 89857
2021-11-03 22:21:16gvanrossumsetnosy: + gvanrossum
2021-11-02 19:01:34iritkatrielcreate