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 <rep...@bugs.python.org>
<http://bugs.python.org/issue19700>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to