-
-
Notifications
You must be signed in to change notification settings - Fork 33.6k
gh-138257: Fix internal RuleCollectorVisitor attribute name
#138208
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
Conversation
Tools/peg_generator/pegen/parser_generator.py
Tools/peg_generator/pegen/parser_generator.pyTools/peg_generator/pegen/parser_generator.py
|
I want an issue for this, just for posterity. I'm creating one. |
Tools/peg_generator/pegen/parser_generator.pyRuleCollectorVisitor attribute name
In general, they don't but only if they are documentation-oriented. Runtime changes do need an issue for tracking purposes and so that others can reply to the issue if this changed something for them. |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
Thanks @chemelnucfin for the PR, and @picnixz for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14. |
…ythonGH-138208) The internal `RuleCollectorVisitor` class had an attribute named "rulses" instead of "rules" that other `GrammarVisitor` subclasses define. (cherry picked from commit 11217a8) Co-authored-by: chemelnucfin <3982092+chemelnucfin@users.noreply.github.com>
…ythonGH-138208) The internal `RuleCollectorVisitor` class had an attribute named "rulses" instead of "rules" that other `GrammarVisitor` subclasses define. (cherry picked from commit 11217a8) Co-authored-by: chemelnucfin <3982092+chemelnucfin@users.noreply.github.com>
|
GH-138259 is a backport of this pull request to the 3.14 branch. |
|
GH-138260 is a backport of this pull request to the 3.13 branch. |
…H-138208) (#138260) gh-138257: Fix internal `RuleCollectorVisitor` attribute name (GH-138208) The internal `RuleCollectorVisitor` class had an attribute named "rulses" instead of "rules" that other `GrammarVisitor` subclasses define. (cherry picked from commit 11217a8) Co-authored-by: chemelnucfin <3982092+chemelnucfin@users.noreply.github.com>
… name (pythonGH-138208) (python#138259) Co-authored-by: chemelnucfin <3982092+chemelnucfin@users.noreply.github.com>
…ython#138208) The internal `RuleCollectorVisitor` class had an attribute named "rulses" instead of "rules" that other `GrammarVisitor` subclasses define.
Trivial changes, like fixing a typo, do not need an issue.
Typo in
parser_generator. Not used anywhere elseRuleCollectorVisitor.rulsesattribute #138257