[Python-checkins] cpython: issue 14660: Implement PEP 420, namespace packages.

Brett Cannon brett at python.org
Sat May 26 20:27:21 CEST 2012


On Fri, May 25, 2012 at 10:41 AM, Barry Warsaw <barry at python.org> wrote:

> On May 25, 2012, at 10:31 AM, Brett Cannon wrote:
>
> >Is documentation coming in a separate commit?
>
> Yes.  I've been reworking the import machinery documentation; it's a
> work-in-progress on the pep-420 feature clone ('importdocs' branch).  I
> made
> some good progress and then got side-tracked, but I'm planning on getting
> back
> to it soon.


OK, great! Something to keep in the back of your head, Barry, is the naming
of importlib.find_loader(). Since its return value is not the same as what
the PEP introduces it might stand for a name change (it's new in Python 3.3
so it can be whatever makes sense).

Also just noticed that there is no update to importlib.abc.Finder for
find_loader(), which I assume is because of the hasattr() check in
PathFinder. That's fine, but it would be good to update the docs for ABC so
people know that is an optional interface they can implement.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-checkins/attachments/20120526/283c9dfd/attachment.html>


More information about the Python-checkins mailing list