[Python-Dev] cpython: Issue 19944: Fix importlib.find_spec() so it imports parents as needed.

Antoine Pitrou solipsis at pitrou.net
Sun Jan 26 02:28:27 CET 2014


On Sat, 25 Jan 2014 23:37:49 +0100 (CET)
eric.snow <python-checkins at python.org> wrote:
> http://hg.python.org/cpython/rev/665f1ba77b57
> changeset:   88710:665f1ba77b57
> user:        Eric Snow <ericsnowcurrently at gmail.com>
> date:        Sat Jan 25 15:32:46 2014 -0700
> summary:
>   Issue 19944: Fix importlib.find_spec() so it imports parents as needed.
> 
> The function is also moved to importlib.util.

Is there a reason to have separate "importlib" (toplevel) and
"importlib.util" namespaces?

(the doc says "This module contains the various objects that help in
the construction of an importer", which doesn't sound related to
find_spec())

Regards

Antoine.




More information about the Python-Dev mailing list