On Sat, Jan 25, 2014 at 6:28 PM, Antoine Pitrou <solip...@pitrou.net> wrote:
> Is there a reason to have separate "importlib" (toplevel) and
> "importlib.util" namespaces?

As to why they are separate, you'll need to ask Brett.  I believe it's
meant to keep the top namespace as small as possible.

Regarding this changeset, it depended on
importlib.util.resolve_name(), so moving find_spec() made sense.  We
discussed it briefly in issue #19944 and everyone there agreed it was
fine.

>
> (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())

We should fix that, :)

-eric
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to