Pablo Galindo Salgado <pablog...@gmail.com> added the comment: 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 ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue45812> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com