Pablo Galindo Salgado <[email protected]> added the comment:
I cannot reproduce this in the main branch:
❯ ./python.exe
Python 3.11.0a2+ (heads/main:9bf2cbc4c4, Nov 16 2021, 08:59:12) [Clang 12.0.0
(clang-1200.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import code
>>> code.interact()
Python 3.11.0a2+ (heads/main:9bf2cbc4c4, Nov 16 2021, 08:59:12) [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
>>> ^D
now exiting InteractiveConsole...
>>> a = 3 \ 4
File "<stdin>", line 1
a = 3 \ 4
^
SyntaxError: unexpected character after line continuation character
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue45812>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com