New submission from Nick Coghlan <ncogh...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue13306>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to