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
Since Python 3.11, Python get a new verbose and better error message with pointer on the location of the error as explained at this and this like this:
Traceback (most recent call last):
File "util.py", line 3, in <module>
c = itertools.counter()
^^^^^^^^^^^^^^^^^
AttributeError: module 'itertools' has no attribute 'counter'. Did you mean: 'count'?
This is only available when we run a Python script directly such as py foo.py. Using Python in interactive mode such as py will not get this feature as explained in this SO amswer. IPython also didn't implement this feature yet.
Is it possible for IPython to follow Python to implement the better error message?
The text was updated successfully, but these errors were encountered:
Since Python 3.11, Python get a new verbose and better error message with pointer on the location of the error as explained at this and this like this:
This is only available when we run a Python script directly such as
py foo.py
. Using Python in interactive mode such aspy
will not get this feature as explained in this SO amswer. IPython also didn't implement this feature yet.Is it possible for IPython to follow Python to implement the better error message?
The text was updated successfully, but these errors were encountered: