[Import-SIG] Namespace Packages resolution

Yury Selivanov yselivanov.ml at gmail.com
Tue Mar 13 16:05:23 CET 2012


First of all, I'm sorry for breaking the thread, I've just subscribed
for it and have no email to reply to.

In PEP 382 it was proposed to have explicit namespace packages markers
'.pyp'.  And with that approach it was relatively easy to implement
nested namespace packages, for instance:

  package1/com.pyp/acme.pyp/package1/__init__.py

and 

  package2/com.pyp/acme.pyp/package2/__init__.py

So that we can later import

  >>> from com.acme import package1, package2

Is this possible with the new approach?

Thanks,
-
Yury


More information about the Import-SIG mailing list