[Python-Dev] pkgutil, pkg_resource and Python 3.0 name space packages (original) (raw)

Christian Heimes lists at cheimes.de
Sun Jan 6 16:33:58 CET 2008


Hello!

We are discussing name space packages on the stdlib reorg list. For Python 3.0 we plan to organize the packages by purpose, e.g. put all database related packages like sqlite and shelve in a 'databases' name space.

Of course we want to have the name spaces extensible by 3rd party software. The Python world as currently two ways to create extensible name space packages: pkgutil and pkg_resource.

pkgutil is part of Python 2.5. pkg_resource is scheduled for Python 2.6 and 3.0 in PEP 365 [1]. The PEP hasn't been accepted yet.

Questions:

Christian

[1] http://www.python.org/dev/peps/pep-0365/



More information about the Python-Dev mailing list