On Sun, Apr 25, 2010 at 03:34, P.J. Eby <[email protected]> wrote:
> One thing that's not entirely clear at the moment in PEP 382, though, is
> that it doesn't really specify how the other sys.path entries are found and
> mapped -- presumably it's something like os.path.join(syspathentry,
> *pkgname.split('.')) -- but the handling for such path entries isn't really
> described.  In a Python version where NullImporter exists (2.5+), though,
> the cost of extra nonexistent __path__ entries is negligible, so I suppose
> filtering the entries for directory existence and the presence of other .pth
> files isn't necessary.

PEP 382 also could benefit from some examples. As it is now, you
really have to understand the details of both namespace packages and
.pth files to understand it.
-- 
Lennart Regebro: Python, Zope, Plone, Grok
http://regebro.wordpress.com/
+33 661 58 14 64
_______________________________________________
Distutils-SIG maillist  -  [email protected]
http://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to