[Python-checkins] peps: Fixed ImportWarning discussion.
eric.smith
python-checkins at python.org
Thu Apr 26 17:05:47 CEST 2012
http://hg.python.org/peps/rev/f2a751e88bef
changeset: 4312:f2a751e88bef
user: Eric V. Smith <eric at trueblade.com>
date: Thu Apr 26 11:05:41 2012 -0400
summary:
Fixed ImportWarning discussion.
files:
pep-0420.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pep-0420.txt b/pep-0420.txt
--- a/pep-0420.txt
+++ b/pep-0420.txt
@@ -173,7 +173,7 @@
Note that an ImportWarning will no longer be raised for a directory
lacking an ``__init__.py`` file. Such a directory will now be
imported as a namespace package, whereas in prior Python versions an
-ImportError would be raised.
+ImportWarning would be raised.
At PyCon 2012, we had a discussion about namespace packages at which
PEP 382 and PEP 402 were rejected, to be replaced by this PEP [2]_.
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list