[Python-Dev] PEP 382 specification and implementation complete (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Sun Nov 6 09:10:59 CET 2011


I had announced this to import-sig already; now python-dev.

I have now written an implementation of PEP 382, and fixed some details of the PEP in the process. The implementation is available at

http://hg.python.org/features/pep-382-2/

With this PEP, a Python package P can consist of either a P/init.py directory and module, or multiple P.pyp directories, or both. Using a directory suffix resulted from the following requirements/observations:

In the new form, the PEP was much easier to implement than in the first version (plus I understand import.c better now).

This implementation now features .pyp directories, zipimporter support, documentation and test cases.

As the next step, I'd like to advance this to ask for pronouncement.

Regards, Martin



More information about the Python-Dev mailing list