[issue19713] Deprecate various things in importlib thanks to PEP 451

Eric Snow report at bugs.python.org
Thu Dec 19 07:20:57 CET 2013


Eric Snow added the comment:

Here's an updated patch that does most of the deprecations and adjustments/silencings to accommodate the deprecations.  The main things left to adjust are many importlib tests and pkgutil/test_pkgutil.

I'm still on the fence about deprecation warnings for module_repr().  We have to keep the methods around for backward-compatibility and module.__repr__ uses them if they exist.  So there really isn't a good place to put a deprecation warning for now.  Thoughts?

----------
Added file: http://bugs.python.org/file33202/issue19713-deprecation-warnings.diff

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


More information about the Python-bugs-list mailing list