Roundup Robot added the comment:
New changeset 8e390e4784b0 by Brett Cannon in branch 'default':
Issue #17176: Document that imp.NullImporter is no longer inserted
http://hg.python.org/cpython/rev/8e390e4784b0
New changeset e470370b4701 by Brett Cannon in branch '3.3':
Issue #17176: Document
Changes by Brett Cannon br...@python.org:
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17176
___
Brett Cannon added the comment:
The docs for NullImporter need to not mention that it is used with
sys.path_importer_cache since it isn't. As for sys.path_importer_cache, it
should say that None is inserted and not NullImporter. Both need a
versionchanged notation of the switch from None to
Andreas Pelme added the comment:
This seems like an oversight from
http://bugs.python.org/issue15473
The release notes for 3.3 added a note about this:
Because None is now inserted into sys.path_importer_cache, if you are clearing
out entries in the dictionary of paths that do not have a
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +easy
nosy: +ezio.melotti
type: - enhancement
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue17176
___
New submission from Brett Cannon:
imp.NullImporter should not be claiming that it is still used to fill
sys.path_importer_cache on misses.
--
assignee: brett.cannon
components: Documentation
messages: 181846
nosy: brett.cannon
priority: normal
severity: normal
stage: needs patch