How to get a complete exception stack trace in Python
How to get a complete exception stack trace in Python Question: The following snippet: import traceback def a(): b() def b(): try: c() except: traceback.print_exc() def c(): assert False a() Produces this output: Traceback (most recent call last): File “test.py”, line 8, in b c() File “test.py”, line 13, in c assert False AssertionError What …