[Import-SIG] PEP 420 issue: extend_path
Eric V. Smith
eric at trueblade.com
Fri May 11 10:38:15 CEST 2012
On 5/10/2012 9:56 PM, Nick Coghlan wrote:
> On Fri, May 11, 2012 at 11:02 AM, Eric V. Smith <eric at trueblade.com> wrote:
>> Feel free to wordsmith it.
>
> Only minor quibbles:
>
> "load a regular package" -> "load a module or self-contained package"
> (when we get a loader, we don't know if it's for a module or a
> package, and I also prefer "self-contained package" over "regular
> package", since it's more future proof terminology)
The PEP in general always says packages, even when it means modules or
packages. It also is really only talking about the sys.path aware
meta-finder (aka importer). I'll change this instance of it, but it's
really pervasive. Some of this is inherited from 382, but some of it is
just me trying to be less verbose.
> "will be a list containing only" -> "will contain only"
Thanks.
> Independent of PEP 420, something we should probably consider for the
> official documentation of the import system is making a clearer
> distinction between importers (on sys.meta_path) and finders (returned
> by sys.path_hooks entries) than was the case in PEP 302 (which calls
> them all finders).
I'm hoping this all gets cleared up in the importer documentation.
Eric.
More information about the Import-SIG
mailing list