[Python-Dev] Sharing expat instances
Phillip J. Eby
pje at telecommunity.com
Wed Dec 14 20:47:13 CET 2005
At 09:56 AM 12/14/2005 -0800, Scott David Daniels wrote:
>My (admittedly weak) understanding of how packages work is that all
>parts of a package should lie off the same node of the PYTHONPATH.
This isn't a requirement; packages have a __path__ attribute which can
include more than one directory. The 'pkgutil' module (added in Python
2.3) even has a convenient way to merge parts of a package that are in
separate directories.
More information about the Python-Dev
mailing list