[issue15272] pkgutil.find_loader accepts invalid module names

Brett Cannon report at bugs.python.org
Fri Jul 20 19:34:01 CEST 2012


Brett Cannon <brett at python.org> added the comment:

PEP 302 just says that find_module "will be called with the fully qualified name of the module." And importation by file name was removed in Python 3 (at some point; don't remember exact feature release). So supporting slashes in a module name is probably not necessary anymore.

----------

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


More information about the Python-bugs-list mailing list