support icon indicating copy to clipboard operation
support copied to clipboard

[Feature] Create better errors for scripts with special characters

Open laurensvalk opened this issue 2 years ago • 0 comments

Is your feature request related to a problem? Please describe.

Scripts with special characters can give surprising outputs that may be hard to debug.

Funcoes.py

tração = 5

x.py

from Funcoes import *

print(tração)

This gives:

Traceback (most recent call last):
  File "x.py", line 1, in <module>
ImportError: no module named 'Funcoes'

Describe the solution you'd like This isn't an Import error. If you replace tração with tracao, it works.

Maybe there is a way to underline this in the editor or give a warning on compile.

laurensvalk avatar Dec 12 '23 14:12 laurensvalk