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

Eric Snow report at bugs.python.org
Fri Dec 20 03:23:31 CET 2013


Eric Snow added the comment:

Sounds good.  Thanks for the explanation.  It sounds like you're effectively concerned just with finder.find_module() and loader.load_module() (which is fine with me).  Everything else (including some of the ABCs) is 3.3-only.  For the sake of simplicity I could also leave the warnings off finder.find_loader() as well (if you want).

Sorry for all the fuss.  I've never *really* deprecated anything before. :)  This has been really helpful.  I see the value in the warnings (when things are going to be removed later vs. "there's something better"), but also see your point about the pain warnings can cause (especially when we don't have concrete plans for removal).  What a weird balance.

p.s. If only I had a time machine to put PendingDeprecationWarnings on those 3.3-only APIs!  <wink>

----------

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


More information about the Python-bugs-list mailing list