This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.smith
Recipients barry, brett.cannon, eric.smith, jaraco
Date 2012-04-24.11:08:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335265720.13.0.725647299701.issue14660@psf.upfronthosting.co.za>
In-reply-to
Content
I have created a branch features/pep-420 where I'll be developing a proof of concept implementation of PEP 420.

I've checked in a basic version, but it has these issues:

- We need to decide how finders communicate that they've found part of
a namespace package. Per Brett's suggestion, I'm currently returning a
string that means "the returned path is part of a namespace package".
I think that's an okay design.

- I guess we need to create a "namespace loader", so we can initialize __loader__. It's a little odd because it would be a loader for which there's no need for a find_module method. I'm currently setting __loader__ to the finder, which is completely wrong, but keeps things working.

- test_import and test_importlib both fail because they're checking
that imports with no __init__.py fail. Those tests need to be removed.

- There are no tests yet.
History
Date User Action Args
2012-04-24 11:08:40eric.smithsetrecipients: + eric.smith, barry, brett.cannon, jaraco
2012-04-24 11:08:40eric.smithsetmessageid: <1335265720.13.0.725647299701.issue14660@psf.upfronthosting.co.za>
2012-04-24 11:08:39eric.smithlinkissue14660 messages
2012-04-24 11:08:39eric.smithcreate