This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author aroberge
Recipients aroberge, pablogsal
Date 2021-06-07.17:07:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1623085667.6.0.884749551164.issue44335@roundup.psfhosted.org>
In-reply-to
Content
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)
History
Date User Action Args
2021-06-07 17:07:47arobergesetrecipients: + aroberge, pablogsal
2021-06-07 17:07:47arobergesetmessageid: <1623085667.6.0.884749551164.issue44335@roundup.psfhosted.org>
2021-06-07 17:07:47arobergelinkissue44335 messages
2021-06-07 17:07:47arobergecreate