[issue40208] Remove deprecated symtable.SymbolTable.has_exec

2020-04-13 Thread Dong-hee Na
Dong-hee Na added the comment: The deletion of this symtable.SymbolTable.has_exec is now landed. I would like to thank Batuhan and all the reviewers who have participated in this issue. It's time for us to say goodbye to symtable.SymbolTable.has_exec. -- resolution: -> fixed stage:

[issue40208] Remove deprecated symtable.SymbolTable.has_exec

2020-04-13 Thread Dong-hee Na
Dong-hee Na added the comment: New changeset 990ea4200f05fcd8bce3de363f4d7745ae142385 by Batuhan Taşkaya in branch 'master': bpo-40208: Remove deprecated has_exec method of SymbolTable (GH-19396) https://github.com/python/cpython/commit/990ea4200f05fcd8bce3de363f4d7745ae142385 -- nos

[issue40208] Remove deprecated symtable.SymbolTable.has_exec

2020-04-10 Thread Guido van Rossum
Guido van Rossum added the comment: Yeah, this seems safe to remove. If somebody's code breaks, that will just help them remove some dead code. -- ___ Python tracker ___

[issue40208] Remove deprecated symtable.SymbolTable.has_exec

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: Answer: no. The 2006 patch already removed OPT_EXEC and OPT_BARE_EXEC. -- ___ Python tracker ___ ___

[issue40208] Remove deprecated symtable.SymbolTable.has_exec

2020-04-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://docs.python.org/3/library/symtable.html#symtable.SymbolTable.has_exec merely says "Return True if the block uses exec." This never happens since https://github.com/python/cpython/blob/3.8/Lib/symtable.py#L87 is "return False". I presume 'exec' refers