Skip to content

Simplify parsing parameters in Argument Clinic #135256

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
serhiy-storchaka opened this issue Jun 8, 2025 · 0 comments
Open

Simplify parsing parameters in Argument Clinic #135256

serhiy-storchaka opened this issue Jun 8, 2025 · 0 comments
Labels
3.14 bugs and security fixes 3.15 new features, bugs and security fixes topic-argument-clinic type-refactor Code refactoring (with no changes in behavior)

Comments

@serhiy-storchaka
Copy link
Member

serhiy-storchaka commented Jun 8, 2025

This is a pure refactoring. It removes some repeated calls of ast.parse() and reuse the result of a single ast.parse() call per parameter.

Linked PRs

@serhiy-storchaka serhiy-storchaka added topic-argument-clinic 3.14 bugs and security fixes 3.15 new features, bugs and security fixes labels Jun 8, 2025
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this issue Jun 8, 2025
@picnixz picnixz added the type-refactor Code refactoring (with no changes in behavior) label Jun 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.14 bugs and security fixes 3.15 new features, bugs and security fixes topic-argument-clinic type-refactor Code refactoring (with no changes in behavior)
Projects
None yet
Development

No branches or pull requests

2 participants