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 pablogsal
Recipients aroberge, lys.nikolaou, pablogsal
Date 2021-11-16.09:07:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1637053650.52.0.325034686444.issue45812@roundup.psfhosted.org>
In-reply-to
Content
Same with 3.10:

❯ ./python.exe
Python 3.10.0+ (heads/3.10:7c99e434a9, Nov 16 2021, 09:03:07) [Clang 12.0.0 (clang-1200.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> a = 3 \ 4
  File "<stdin>", line 1
    a = 3 \ 4
           ^
SyntaxError: unexpected character after line continuation character
>>> import code
>>> code.interact()
Python 3.10.0+ (heads/3.10:7c99e434a9, Nov 16 2021, 09:03:07) [Clang 12.0.0 (clang-1200.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> a = 3 \ 4
  File "<console>", line 1
    a = 3 \ 4
           ^
SyntaxError: unexpected character after line continuation character

and 3.9:

❯ ./python.exe
Python 3.9.9+ (heads/3.9:a40d066e8e, Nov 16 2021, 09:02:19)
[Clang 12.0.0 (clang-1200.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> a = 3 \ 4
  File "<stdin>", line 1
    a = 3 \ 4
           ^
SyntaxError: unexpected character after line continuation character
>>> import code
>>> code.interact()
Python 3.9.9+ (heads/3.9:a40d066e8e, Nov 16 2021, 09:02:19)
[Clang 12.0.0 (clang-1200.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> a = 3 \ 4
  File "<console>", line 1
    a = 3 \ 4
           ^
SyntaxError: unexpected character after line continuation character
History
Date User Action Args
2021-11-16 09:07:30pablogsalsetrecipients: + pablogsal, aroberge, lys.nikolaou
2021-11-16 09:07:30pablogsalsetmessageid: <1637053650.52.0.325034686444.issue45812@roundup.psfhosted.org>
2021-11-16 09:07:30pablogsallinkissue45812 messages
2021-11-16 09:07:30pablogsalcreate