[New-bugs-announce] [issue13306] Add diagnostic tools to importlib?
report at bugs.python.org
Mon Oct 31 23:07:00 CET 2011
New submission from Nick Coghlan <ncoghlan at gmail.com>:
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)
nosy: brett.cannon, ncoghlan
stage: needs patch
title: Add diagnostic tools to importlib?
type: feature request
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce