8000 Move detection of writes and shadowing of __debug__ from compiler to symtable. · Issue #122245 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Move detection of writes and shadowing of __debug__ from compiler to symtable. #122245

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

Closed
iritkatriel opened this issue Jul 24, 2024 · 0 comments · Fixed by #122246
Closed

Move detection of writes and shadowing of __debug__ from compiler to symtable. #122245

iritkatriel opened this issue Jul 24, 2024 · 0 comments · Fixed by #122246
Assignees

Comments

@iritkatriel
Copy link
Member
iritkatriel commented Jul 24, 2024

There are checks in the compiler for writes and shadowing of __debug__. This can be done earlier, in the symtable, where it is somewhat simpler.

Linked PRs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant
0