This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Andreas.Pelme
Recipients Andreas.Pelme, brett.cannon, ezio.melotti
Date 2013-02-23.17:06:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1361639182.33.0.585722911867.issue17176@psf.upfronthosting.co.za>
In-reply-to
Content
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 finder, you will need to remove keys paired with values of None and imp.NullImporter to be backwards-compatible. This will lead to extra overhead on older versions of Python that re-insert None into sys.path_importer_cache where it repesents the use of implicit finders, but semantically it should not change anything."

But the relevant docs for NullImporter (http://docs.python.org/2/library/imp.html#imp.NullImporter) and sys.path_importer_cache (http://docs.python.org/2/library/sys.html#sys.path_importer_cache) did not get updated.

We have verified that the release notes in 3.4 is correct, and NullImporter is never used.

We are however not sure about the correct wording for the documentation fix.
History
Date User Action Args
2013-02-23 17:06:22Andreas.Pelmesetrecipients: + Andreas.Pelme, brett.cannon, ezio.melotti
2013-02-23 17:06:22Andreas.Pelmesetmessageid: <1361639182.33.0.585722911867.issue17176@psf.upfronthosting.co.za>
2013-02-23 17:06:22Andreas.Pelmelinkissue17176 messages
2013-02-23 17:06:22Andreas.Pelmecreate