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 asleep-cult
Recipients asleep-cult, gvanrossum
Date 2021-01-07.03:10:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609989025.03.0.102420466732.issue42848@roundup.psfhosted.org>
In-reply-to
Content
Didn't show enough of the traceback to show that the latter does not suppress the Test exception

Traceback (most recent call last):
  File "c:/Development/test/test.py", line 11, in bar
    x()
  File "c:/Development/test/test.py", line 7, in x
    raise Test('Hello World!')
__main__.Test: Hello World!

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:/Development/test/test.py", line 19, in <module>
    bar()
  File "c:/Development/test/test.py", line 14, in bar
    bar()
  File "c:/Development/test/test.py", line 14, in bar
    bar()
  File "c:/Development/test/test.py", line 14, in bar
    bar()
  [Previous line repeated 994 more times]
  File "c:/Development/test/test.py", line 11, in bar
    x()
  File "c:/Development/test/test.py", line 7, in x
    raise Test('Hello World!')
RecursionError: maximum recursion depth exceeded while calling a Python object

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:/Development/test/test.py", line 21, in <module>
    traceback.print_exc()
  File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\traceback.py", line 163, in print_exc
    print_exception(*sys.exc_info(), limit=limit, file=file, chain=chain)
  File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\traceback.py", line 103, in print_exception
    for line in TracebackException(
  File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\traceback.py", line 493, in __init__
    context = TracebackException(
  File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\traceback.py", line 493, in __init__
    context = TracebackException(
  File "C:\Users\User\AppData\Local\Programs\Python\Python38\lib\traceback.py", line 493, in __init__
    context = TracebackException(
  [Previous line repeated 495 more times]
RecursionError: maximum recursion depth exceeded
History
Date User Action Args
2021-01-07 03:10:25asleep-cultsetrecipients: + asleep-cult, gvanrossum
2021-01-07 03:10:25asleep-cultsetmessageid: <1609989025.03.0.102420466732.issue42848@roundup.psfhosted.org>
2021-01-07 03:10:25asleep-cultlinkissue42848 messages
2021-01-07 03:10:24asleep-cultcreate