Message394721
Traceback (most recent call last):
File "/Users/sgiffard/Library/Application Support/JetBrains/PyCharm2020.3/scratches/scratch_24.py", line 9, in <module>
driver.parse_string("""class C:\n def exec(self): pass\n""")
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/lib2to3/pgen2/driver.py", line 103, in parse_string
return self.parse_tokens(tokens, debug)
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/lib2to3/pgen2/driver.py", line 71, in parse_tokens
if p.addtoken(type, value, (prefix, start)):
File "/usr/local/Cellar/[email protected]/3.9.5/Frameworks/Python.framework/Versions/3.9/lib/python3.9/lib2to3/pgen2/parse.py", line 162, in addtoken
raise ParseError("bad input", type, value, context)
lib2to3.pgen2.parse.ParseError: bad input: type=1, value='exec', context=(' ', (2, 8)) |
|
| Date |
User |
Action |
Args |
| 2021-05-29 07:24:54 | mulugruntz | set | recipients:
+ mulugruntz, terry.reedy |
| 2021-05-29 07:24:54 | mulugruntz | set | messageid: <[email protected]> |
| 2021-05-29 07:24:54 | mulugruntz | link | issue44259 messages |
| 2021-05-29 07:24:54 | mulugruntz | create | |
|