[issue25160] Stop using deprecated imp module; imp should now emit a real DeprecationWarning

STINNER Victor report at bugs.python.org
Fri Mar 25 19:36:34 EDT 2016


STINNER Victor added the comment:

> Tools/i18n/pygettext.py:159:import imp

I opened the issue #26639 for it.


>> Python/makeopcodetargets.py:9:import imp
> See issue 20021.

I pushed the change f682b620c64d but I forgot about the issue #20021. Let's discuss there about this script.


> Tools/importbench/importbench.py:10:import imp

I think that it's fine to keep imp there.


> Lib/modulefinder.py:14:    import imp

This one requires more work than the other.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25160>
_______________________________________


More information about the Python-bugs-list mailing list