Message384555
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 |
|
Date |
User |
Action |
Args |
2021-01-07 03:10:25 | asleep-cult | set | recipients:
+ asleep-cult, gvanrossum |
2021-01-07 03:10:25 | asleep-cult | set | messageid: <1609989025.03.0.102420466732.issue42848@roundup.psfhosted.org> |
2021-01-07 03:10:25 | asleep-cult | link | issue42848 messages |
2021-01-07 03:10:24 | asleep-cult | create | |
|