[issue17177] Document/deprecate imp

Brett Cannon report at bugs.python.org
Sat May 4 20:23:44 CEST 2013


Brett Cannon added the comment:

Just to keep on top of what is left to do for this to happen:

* get_magic(): expose in importlib
* find_module()/load_module(): eliminate all uses in the stdlib and fully deprecate
* new_module(): use types.ModuleType() instead
* reload(): relocate
* cache_from_source(): relocate
* source_from_cache(): relocate
* get_tag(): deprecate
* lock_held()/acquire_lock()/release_lock(): deprecate
* NullImporter: deprecate

Everything else can stay undocumented as-is (deprecated or simply exposed through _imp which can stay undocumented).

I plan to make individual issues for these things as I solidify the decision of how to handle them.

----------
nosy: +benjamin.peterson

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


More information about the Python-bugs-list mailing list