[issue19700] Update runpy for PEP 451

Nick Coghlan report at bugs.python.org
Sun Dec 8 14:09:48 CET 2013


Nick Coghlan added the comment:

OK, I just noticed that importlib.find_spec copies the annoying-as-hell behaviour of importlib.find_loader where it doesn't work with dotted names. Can we fix that please? It's stupid that pkgutil.get_loader has to exist to workaround that design flaw for find_loader, and I'd hate to see it replicated in a new public facing API.

----------

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


More information about the Python-bugs-list mailing list