A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-January/132089.html below:

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

[Python-Dev] cpython: Issue 19944: Fix importlib.find_spec() so it imports parents as needed. [Python-Dev] cpython: Issue 19944: Fix importlib.find_spec() so it imports parents as needed.Eric Snow ericsnowcurrently at gmail.com
Sun Jan 26 02:57:31 CET 2014
On Sat, Jan 25, 2014 at 6:28 PM, Antoine Pitrou <solipsis at 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4