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 ncoghlan
Recipients brett.cannon, ncoghlan
Date 2011-10-31.22:06:59
SpamBayes Score 1.2774826e-05
Marked as misclassified No
Message-id <1320098820.25.0.925823454462.issue13306@psf.upfronthosting.co.za>
In-reply-to
Content
In discussing the module aliasing PEP on python-ideas, it occurred to me that we could potentially add some useful "sanity check" utilities to an "importlib.diagnostics" subpackage. For example:

- scan sys.path looking for entries that are inside packages
- scan sys.modules looking for entries with duplicate __file__ attributes
- scan for shadowed modules (i.e. like find module, but don't stop when we get a hit, and report *all* modules found)

Thoughts?
History
Date User Action Args
2011-10-31 22:07:00ncoghlansetrecipients: + ncoghlan, brett.cannon
2011-10-31 22:07:00ncoghlansetmessageid: <1320098820.25.0.925823454462.issue13306@psf.upfronthosting.co.za>
2011-10-31 22:06:59ncoghlanlinkissue13306 messages
2011-10-31 22:06:59ncoghlancreate