[issue12915] Add inspect.locate and inspect.resolve
Nick Coghlan
report at bugs.python.org
Mon Feb 25 15:01:54 CET 2013
Nick Coghlan added the comment:
Something to consider with these functions: it is probably desirable to also support the popular alternate notation which uses an explicit ":" to separate the module name from the reference within the module.
For example, setuptools entry points and nose test references both use that format.
The alternate notation should be fairly easy to both detect and handle through "name.partition(':')"
----------
nosy: +ncoghlan
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12915>
_______________________________________
More information about the Python-bugs-list
mailing list