[New-bugs-announce] [issue20020] "modernize" the modulefinder module

Eric Snow report at bugs.python.org
Thu Dec 19 05:05:25 CET 2013


New submission from Eric Snow:

The modulefinder module (Lib/modulefinder.py) provides a ModuleFinder class (plus 2 helpers) you can use to see what modules a script imports (directly or indirectly).  The module's implementation is centered on the old imp.find_/load_module() API (which has been deprecated).  The implementation should be refactored to reflect/make use of the newer import-related APIs.

The documented API for ModuleFinder is very small.  However, it has quite a few methods that are "public" in the sense that their names do not start with an underscore.  This will make any kind of refactoring trickier.

----------
components: Library (Lib)
messages: 206576
nosy: eric.snow
priority: low
severity: normal
status: open
title: "modernize" the modulefinder module
type: enhancement
versions: Python 3.5

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20020>
_______________________________________


More information about the New-bugs-announce mailing list