This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author terry.reedy
Recipients BTaskaya, gvanrossum, terry.reedy
Date 2020-04-11.01:35:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1586568953.49.0.0208430689718.issue40208@roundup.psfhosted.org>
In-reply-to
Content
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 to 2.x statement, not the 3.x function.  The docstring on line 86 does say "Deprecated method."

Guido, you changed these lines in 2006, in 2def557aba1aaa42b638f9bf95624b7e6929191c  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?
History
Date User Action Args
2020-04-11 01:35:53terry.reedysetrecipients: + terry.reedy, gvanrossum, BTaskaya
2020-04-11 01:35:53terry.reedysetmessageid: <1586568953.49.0.0208430689718.issue40208@roundup.psfhosted.org>
2020-04-11 01:35:53terry.reedylinkissue40208 messages
2020-04-11 01:35:53terry.reedycreate