Nick Coghlan added the comment:

Attached patch adds some appropriate unit tests, switches pkgutil.find_loader 
over to using importlib.util.find_spec and updates the docs appropriately.

I also filed issue 20842 relating to the fact that the pkgutil docs still refer 
to PEP 302 when they should be referring to the glossary terms instead.

----------
keywords: +patch
Added file: 
http://bugs.python.org/file34274/issue20839_migrate_pkgutil_to_find_spec.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue20839>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to