[New-bugs-announce] [issue13306] Add diagnostic tools to importlib?
Nick Coghlan
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)
Thoughts?
----------
messages: 146746
nosy: brett.cannon, ncoghlan
priority: normal
severity: normal
stage: needs patch
status: open
title: Add diagnostic tools to importlib?
type: feature request
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13306>
_______________________________________
More information about the New-bugs-announce
mailing list