-
-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
Remove deprecated symtable.SymbolTable.has_exec #84389
Comments
SymbolTable's has_exec method deprecated 14 years ago (2006) with 2def557, it can be safely removed since there is no user of it. |
https://docs.python.org/3/library/symtable.html#symtable.SymbolTable.has_exec Guido, you changed these lines in 2006, in 2def557 I presume you left them for the benefit of ported 2.7 code. Should the function be removed for 3.9 or left until 3.10? Your commit message referred to 'dead EXEC related constants'. Is there anything else that should be removed? |
Answer: no. The 2006 patch already removed OPT_EXEC and OPT_BARE_EXEC. |
Yeah, this seems safe to remove. If somebody's code breaks, that will just help them remove some dead code. |
The deletion of this symtable.SymbolTable.has_exec is now landed. It's time for us to say goodbye to symtable.SymbolTable.has_exec. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: