[issue35202] Remove unused imports in standard library

Eric V. Smith report at bugs.python.org
Fri Nov 9 17:41:32 EST 2018


Eric V. Smith <eric at trueblade.com> added the comment:

I think we can remove these in 3.8. My understanding of the policy (which I cannot find: the search terms are too generic) is that if a module defines __all__, and the symbol we want to remove isn't in it, then we can remove the symbol in the next feature release without requiring a deprecation period.

If a module doesn't define __all__, then we need a deprecation period in order to remove a symbol, unless the symbol is a module, and then we can just remove it in the next feature release.

----------
nosy: +eric.smith
versions: +Python 3.8

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue35202>
_______________________________________


More information about the Python-bugs-list mailing list