[docs] [issue37674] Is imp module deprecated or pending deprecation?

Brett Cannon report at bugs.python.org
Thu Jul 25 16:27:17 EDT 2019


Brett Cannon <brett at python.org> added the comment:

It's deprecated: https://github.com/python/cpython/blob/master/Lib/imp.py#L31. The wording is from back when the module was soft-deprecated via documentation before it was hard-deprecated via code. Feel free to tweak it to say "The imp module is deprecated in favor of :mod:`importlib`."

----------

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


More information about the docs mailing list