You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow the repl to show source code and complete tracebacks #110805
Currently the REPL doesn't show traceback source or augmented information for the source that is typed in the repl itself:
>>> def f(x):
... 1/x
...
>>> f(0)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 2, in f
ZeroDivisionError: division by zero
To improve user experience, we want the REPL to be able to treat source lines thar were typed directly as any other kind and show proper tracebacks:
>>> def f(x):
... 1/x
...
>>> f(0)
Traceback (most recent call last):
REPL, line 1, in <module>
f(0)
REPL, line 2, in f
1/x
~^~
ZeroDivisionError: division by zero
Activity
gh-110805: Allow the repl to show source code and complete tracebacks (…
gh-110805: Fix test_peg_generator after the change in the parser for …
pythongh-110805: Allow the repl to show source code and complete trac…
pythongh-110805: Fix test_peg_generator after the change in the parse…
pythongh-110805: Allow the repl to show source code and complete trac…
pythongh-110805: Fix test_peg_generator after the change in the parse…