[docs] [issue30535] Warn that meta_path is not empty
Antoine Pitrou
report at bugs.python.org
Fri Jun 2 07:36:02 EDT 2017
Antoine Pitrou added the comment:
Le 02/06/2017 à 13:21, Xavier Morel a écrit :
>
> I spent a few hours trying to understand why our import hooks did not work correctly anymore in 3.5, and I never even considered printing sys.meta_path in an open interpreter, I realised the behavioural change because I ended up printing meta_path after the addition of our custom hooks to make sure they were actually there.
Fair enough. So we can just add a sentence informing readers that
`meta_path`, by default, holds entries to handle the standard kinds of
modules (.py files, extension modules...).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30535>
_______________________________________
More information about the docs
mailing list