-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Rule name conflict and token marking mistakes in the 3.12.0rc grammar #109596
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Labels
3.12
only security fixes
3.13
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Comments
pablogsal
added a commit
to pablogsal/cpython
that referenced
this issue
Sep 20, 2023
… and fix incorrect soft keywords
I created a PR to fix it, but notice is not really a problem as the parser does not generate soft keywords for these tokens. For example: Regarding the repeated rule, is not a problem since is not really used anywhere. I will delete it in the PR |
pablogsal
added a commit
to pablogsal/cpython
that referenced
this issue
Sep 20, 2023
… and fix incorrect soft keywords Signed-off-by: Pablo Galindo <[email protected]>
pablogsal
added a commit
that referenced
this issue
Sep 22, 2023
…ix incorrect soft keywords (#109606)
pablogsal
added a commit
to pablogsal/cpython
that referenced
this issue
Sep 22, 2023
…allowed and fix incorrect soft keywords (pythonGH-109606). (cherry picked from commit b28ffaa) Co-authored-by: Pablo Galindo Salgado <[email protected]>
csm10495
pushed a commit
to csm10495/cpython
that referenced
this issue
Sep 28, 2023
… and fix incorrect soft keywords (python#109606)
Yhg1s
pushed a commit
that referenced
this issue
Oct 2, 2023
This has been fixed. |
Glyphack
pushed a commit
to Glyphack/cpython
that referenced
this issue
Sep 2, 2024
… and fix incorrect soft keywords (python#109606)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
3.12
only security fixes
3.13
bugs and security fixes
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
This report was originally launched here.
grammars:
3.12.0rc3
3.13.0 alpha 0
Rule name conflict with the follwing two grammar rules:
and
The colon sign is not a soft keyword (":"), it is a token (':') in these rules:
The equal sign is not a soft keyword ("="), it is a token ('=') in the following rule:
These are more just notation problems in the previous two cases.
In general, this is a problem from that point of view that comparing two texts is slower than comparing two integers.
CPython versions tested on:
3.12
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: