[Import-SIG] PEP 382 update

PJ Eby pje at telecommunity.com
Wed Nov 2 18:59:10 CET 2011

On Wed, Oct 19, 2011 at 4:36 PM, "Martin v. Löwis" <martin at v.loewis.de>wrote:

> In comparison with PEP 402, after my PyCon DE presentation, people
> discussed that they prefer if Python packages require some kind of
> explicit declaration - even though Java seems to have done well with
> packages being just directories with the package name. In particular,
> a Jython guy observed that they would likely have issues with an
> approach where a directory P would already be part of a package P,
> since they often have directories in Jython that have the name of
> Python packages, but are not meant as such.

Unless those directories contain things which are importable, and someone
actually imports them, PEP 402 does not treat them as a package.  So, I
suspect some confusion may have occurred, especially if this was a first
exposure to the idea, rather than people actually reading the PEP.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/import-sig/attachments/20111102/b4f8b32c/attachment.html>

More information about the Import-SIG mailing list