[issue36762] Teach "import *" to warn when overwriting globals or builtins
Raymond Hettinger
report at bugs.python.org
Wed May 1 20:33:37 EDT 2019
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
> What if existing globals are overwritten intentionally?
That's why it would be a warning instead of an error. Also, with warnings we can suppress specific instances (by module or by message).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36762>
_______________________________________
More information about the Python-bugs-list
mailing list