Re: Rough PEP: A ModuleSpec Type for the Import System

Nick Coghlan <[email protected]>
Newsgroups gmane.comp.python.import
Message-ID <CADiSq7chT8-iK1X4oFaP0K4=DaV2MLtjxgLxwYWeDu9ioERh7Q@mail.gmail.com>
This generally looks good to me. Something I'm wondering:

Q1. Can we experiment with this as a custom metapath importer?

A1. Not really, because we want to use it to avoid some of the other
importlib additions made in 3.4. However, a backport to 3.3 as a
custom metapath hook may still be interesting.

Q2. Given this idea as a foundation, could we experiment with ref file
support as a custom importer?

A2. Quite possibly, which may make that a good thing to defer to 3.5
(for stdlib inclusion, anyway).

I'll wait until the updated version gets through before commenting further :)

Cheers,
Nick.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.