forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
3.9.0b1Needs to be fixed/implemented until the 3.9.0b1 releaseNeeds to be fixed/implemented until the 3.9.0b1 release
Description
Current Parser:
╰─ ./python
Python 3.9.0a5+ (heads/pegen:99a8e2fa08, Apr 9 2020, 16:19:04)
[GCC 9.2.1 20191008] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> x = 5 | 4 |
File "<stdin>", line 1
x = 5 | 4 |
^
SyntaxError: invalid syntax
Pegen:
╰─ ./python -p new
Python 3.9.0a5+ (heads/pegen:99a8e2fa08, Apr 9 2020, 16:19:04)
[GCC 9.2.1 20191008] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> x = 5 | 4 |
File "<stdin>", line 1
x = 5 | 4 |
^
SyntaxError: invalid syntax
Difference by one. Would it be okay to just skip this test if pegen is enabled?
Metadata
Metadata
Assignees
Labels
3.9.0b1Needs to be fixed/implemented until the 3.9.0b1 releaseNeeds to be fixed/implemented until the 3.9.0b1 release