[Python-checkins] r71098 - peps/trunk/pep-0382.txt

martin.v.loewis python-checkins at python.org
Fri Apr 3 21:48:22 CEST 2009


Author: martin.v.loewis
Date: Fri Apr  3 21:48:21 2009
New Revision: 71098

Log:
Add sys.namespace_packages.


Modified:
   peps/trunk/pep-0382.txt

Modified: peps/trunk/pep-0382.txt
==============================================================================
--- peps/trunk/pep-0382.txt	(original)
+++ peps/trunk/pep-0382.txt	Fri Apr  3 21:48:21 2009
@@ -109,7 +109,8 @@
 to the package's __path__ to indicate that the package is a namespace
 package (and that thus further extensions to sys.path might also
 want to extend __path__). At most one such asterisk gets prepended
-to the path.
+to the path. In addition, the (possibly dotted) names of all namespace
+packages are added to the list sys.namespace_packages.
 
 extend_path will be extended to recognize namespace packages according
 to this PEP, and avoid adding directories twice to __path__.


More information about the Python-checkins mailing list