Pablo Galindo Salgado <pablog...@gmail.com> added the comment:

This has been fixed by commit 69e10976b2e7682c6d57f4272932ebc19f8e8859:

Python 3.11.0a5+ (heads/main:69e10976b2, Feb  8 2022, 12:30:20) [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.0a5+ (heads/main:69e10976b2, Feb  8 2022, 12:30:20) [Clang 12.0.0 
(clang-1200.0.32.29)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> [
... def foo():
  File "<console>", line 1
    [
    ^
SyntaxError: '[' was never closed


Please, check that everything is in order and reopen the issue if we have 
missed something.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43366>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to