Jan. 26, 2014
1:57 a.m.
On Sat, Jan 25, 2014 at 6:28 PM, Antoine Pitrou <solipsis@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