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
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2009-11-04.07:49:56.764>created_at=<Date2009-11-04.07:04:58.157>labels= ['interpreter-core']
title='SyntaxError with a not-existing offset for unicode code'updated_at=<Date2009-11-04.07:49:56.762>user='https://bugs.python.org/noam'
Apparently the position of the caret is based on the number of bytes in
the line, not on the characters:
>>> [aaa for x in]
File "<stdin>", line 1
[aaa for x in]
^
SyntaxError: invalid syntax
>>> [äää for x in]
File "<stdin>", line 1
[äää for x in]
^
SyntaxError: invalid syntax
In this example each ä takes two bytes so the caret is 3 extra chars on
the right.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: