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
👆 Notice the two missing lines in the output, starting with the Traceback (most recent call last): line. This is a "real" traceback generated by the Python 3.9 REPL.
Example 2 (okay)
Adding a module location to the 2nd file location (, in <module>) restores the missing "Traceback ..." line and renders as expected:
Adding a comma (,) after the 2nd File "<string>", line 1 is enough to make the "Traceback ..." line appear (although it won't get the correct highlighting):
Example 1 (broken)
Input:
Result:

👆 Notice the two missing lines in the output, starting with the
Traceback (most recent call last):
line. This is a "real" traceback generated by the Python 3.9 REPL.Example 2 (okay)
Adding a module location to the 2nd file location (
, in <module>
) restores the missing "Traceback ..." line and renders as expected:Result:

Adding a comma (
,
) after the 2ndFile "<string>", line 1
is enough to make the "Traceback ..." line appear (although it won't get the correct highlighting):Versions
2.13.0
The text was updated successfully, but these errors were encountered: