Skip to content

gh-127833: lexical analysis: Improve section on Names #131474

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

encukou
Copy link
Member

@encukou encukou commented Mar 19, 2025

Use consistent terminology: "names" are "identifiers", "keywords", and "soft keywords".
Start with the simple case (ASCII), then get more and more technical.
Define NAME in the formal lexical grammar.
Exclude keywords in the identifier definition.


📚 Documentation preview 📚: https://cpython-previews--131474.org.readthedocs.build/

@encukou encukou added the needs backport to 3.14 bugs and security fixes label May 7, 2025
@terryjreedy
Copy link
Member

I like the re-arrangement and separation of identifier and keyword.

@encukou
Copy link
Member Author

encukou commented May 16, 2025

Thanks for the reviews!
I plan to merge on Wednesday if there are no objections.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting core review docs Documentation in the Doc dir needs backport to 3.14 bugs and security fixes skip news
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

3 participants