Message386630
In Python3.10.0a5, `code.interact()` will raise unexpected SyntaxError even if there should be more code.
```
Python 3.10.0a5 (default, Feb 7 2021, 20:14:10)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import code
>>> code.interact()
Python 3.10.0a5 (default, Feb 7 2021, 20:14:10)
[GCC 9.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
(InteractiveConsole)
>>> print([1,
... 2,
File "<console>", line 1
print([1,
^
SyntaxError: '[' was never closed
>>>
```
Similar things also happen in IDLE. |
|
Date |
User |
Action |
Args |
2021-02-08 14:46:07 | hsfzxjy | set | recipients:
+ hsfzxjy |
2021-02-08 14:46:07 | hsfzxjy | set | messageid: <1612795567.03.0.987191957566.issue43163@roundup.psfhosted.org> |
2021-02-08 14:46:07 | hsfzxjy | link | issue43163 messages |
2021-02-08 14:46:06 | hsfzxjy | create | |
|