[Python-Dev] PEP 302 optional extensions only for loaders?

Paul Moore p.f.moore at gmail.com
Thu Aug 23 23:54:31 CEST 2007


On 23/08/07, Brett Cannon <brett at python.org> wrote:
> When you read PEP 302 and the section on the optional extensions, it
> mentions that they "are highly recommended for general purpose
> importers".  But then the PEP says very shortly thereafter that
> "loader objects" are to have the extensions.
>
> So which is it, importers or loaders?

Loaders. "general purpose importers" was sloppy terminology, meant to
mean "general purpose things that implement the new importing
protocol, as specified here".

Loaders are what implement the extensions, as made clear by the examples.

Apologies for the sloppy wording in the PEP.
Paul.


More information about the Python-Dev mailing list