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 benjamin.peterson
Recipients benjamin.peterson
Date 2018-09-05.17:52:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Consider the following script:
import traceback

def fill_stack(depth):
    if depth <= 1:
        return traceback.format_stack()
        return fill_stack(depth - 1)

assert fill_stack(4) != fill_stack(5)

On the Python 3 versions I tested, this script doesn't fail! Somehow traceback is producing identical tracebacks for different callstacks.
Date User Action Args
2018-09-05 17:52:12benjamin.petersonsetrecipients: + benjamin.peterson
2018-09-05 17:52:12benjamin.petersonsetmessageid: <>
2018-09-05 17:52:12benjamin.petersonlinkissue34588 messages
2018-09-05 17:52:12benjamin.petersoncreate