Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork33.7k
Closed
Description
First appeared ine028ae9.
Reproducer:
importsysdeff():passdeftrace(frame,event,arg):raiseValueError()sys.settrace(trace)f()
Before 'bad' commit (3e43fac):
Traceback (most recent call last): File "/home/.../trace_tb_bug.py", line 10, in <module> f() ^^^ File "/home/.../trace_tb_bug.py", line 3, in f def f(): File "/home/.../trace_tb_bug.py", line 7, in trace raise ValueError() ^^^^^^^^^^^^^^^^^^ValueErrorAfter 'bad' commit (e028ae9):
Traceback (most recent call last): File "/home/.../trace_tb_bug.py", line 10, in <module> f() ^^^ File "/home/.../trace_tb_bug.py", line 3, in f def f(): File "/home/.../trace_tb_bug.py", line 3, in f def f(): File "/home/.../trace_tb_bug.py", line 7, in trace raise ValueError() ^^^^^^^^^^^^^^^^^^ValueError3.11.0 release and main (039714d) also lack pointers to error locations, but this probably needs a different issue:
Traceback (most recent call last): File "/home/.../trace_tb_bug.py", line 10, in <module> f() File "/home/.../trace_tb_bug.py", line 3, in f def f(): File "/home/.../trace_tb_bug.py", line 3, in f def f(): File "/home/.../trace_tb_bug.py", line 7, in trace raise ValueError()ValueError