[Python-checkins] peps: Add link to rationale for allowing namespace packages in the standard library.
eric.smith
python-checkins at python.org
Thu May 17 12:08:58 CEST 2012
http://hg.python.org/peps/rev/b65cf749cacc
changeset: 4399:b65cf749cacc
user: Eric V. Smith <eric at trueblade.com>
date: Thu May 17 06:08:31 2012 -0400
summary:
Add link to rationale for allowing namespace packages in the standard library.
files:
pep-0420.txt | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diff --git a/pep-0420.txt b/pep-0420.txt
--- a/pep-0420.txt
+++ b/pep-0420.txt
@@ -326,6 +326,12 @@
4. This will also be addressed in PEP 395.
+The inclusion of namespace packages in the standard library was
+motivated by Martin v. Löwis, who wanted the ``encodings`` package to
+become a namespace package. While this PEP allows for standard
+library packages to become namespaces, it defers a decision on
+``encodings``.
+
``find_module`` versus ``find_loader``
--------------------------------------
@@ -343,7 +349,7 @@
implement the ``find_loader`` method, described above.
The use case for supporting multiple portions per ``find_loader`` call
-is given in [6]_.
+is given in [7]_.
Module reprs
@@ -403,7 +409,11 @@
.. [5] Nick Coghlan's response to his initial objections
(http://mail.python.org/pipermail/import-sig/2012-April/000464.html)
-.. [6] Use case for multiple portions per ``find_loader`` call
+.. [6] Martin v. Löwis's suggestion to make ``encodings`` a namespace
+ package
+ (http://mail.python.org/pipermail/import-sig/2012-May/000540.html)
+
+.. [7] Use case for multiple portions per ``find_loader`` call
(http://mail.python.org/pipermail/import-sig/2012-May/000585.html)
Copyright
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list