Message395267
When using Python 3.10.0b2 on a line with more than one invalid characters, the second one is identified as being incorrect, whereas in previous versions the first such character was identified.
> py -3.8 unicode_quote.py
File "unicode_quote.py", line 2
a = « hello » « world »
^
SyntaxError: invalid character in identifier
> py -3.9 unicode_quote.py
File "C:\...\unicode_quote.py", line 2
a = « hello » « world »
^
SyntaxError: invalid character '«' (U+00AB)
> py -3.10 unicode_quote.py
File "C:\...\unicode_quote.py", line 2
a = « hello » « world »
^
SyntaxError: invalid character '»' (U+00BB) |
|
Date |
User |
Action |
Args |
2021-06-07 17:07:47 | aroberge | set | recipients:
+ aroberge, pablogsal |
2021-06-07 17:07:47 | aroberge | set | messageid: <1623085667.6.0.884749551164.issue44335@roundup.psfhosted.org> |
2021-06-07 17:07:47 | aroberge | link | issue44335 messages |
2021-06-07 17:07:47 | aroberge | create | |
|