Thomas Kluyver added the comment:

I also ran into confusion with this while trying to write an import hook.

Attached is my shot at a docs patch. I've done a slightly larger rewording, 
trying to make it easier to understand, and added more links between parts of 
the docs.

I left mentions of the deprecated find_module and find_loader methods in the 
'finder' glossary entry, but for sys.meta_path I have only described 
find_spec() - it does still fall back to the deprecated methods, but I thought 
that trying to explain that would make the description of meta_path harder to 
follow.

----------
nosy: +takluyver
Added file: http://bugs.python.org/file41227/finders_and_specs.patch

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

Reply via email to