You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2020-05-04.08:13:56.289>created_at=<Date2020-05-04.03:06:24.136>labels= ['type-bug', '3.9']
title='Typo in SyntaxError produced by pegen for numeric literals'updated_at=<Date2020-05-04.08:13:56.288>user='https://github.com/hauntsaninja'
~ λ python3.9
Python 3.9.0a6+ (heads/master:c95e691, May 3 2020, 19:57:46)
[Clang 11.0.0 (clang-1100.0.33.17)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import ast
>>> ast.parse("1_2", feature_version=(3, 5))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Users/shantanu/.pyenv/versions/3.9-dev/lib/python3.9/ast.py", line 50, in parse
return compile(source, filename, mode, flags,
File "<unknown>", line 1
1_2
^
SyntaxError: Underscores in numeric literals are only supportedin Python 3.6 and greater
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: