summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-09-07 03:02:39 (GMT)
committerGuido van Rossum <guido@python.org>1997-09-07 03:02:39 (GMT)
commit16221126d6b801b16b77844e55c7172a466c7b6f (patch)
tree18c0c33c641bc2be8ce6e2f939b6b465f28f7347
parent593801142edc7c2c9e8ba214cb88a0a1878b50a9 (diff)
downloadcpython-16221126d6b801b16b77844e55c7172a466c7b6f.zip
cpython-16221126d6b801b16b77844e55c7172a466c7b6f.tar.gz
cpython-16221126d6b801b16b77844e55c7172a466c7b6f.tar.bz2
Added warning about ni's obsolescence. Retracted semantic changes
(i.e. when using ni, the old __init__.py semantics prevail!)
-rw-r--r--Doc/lib/libni.tex6
-rw-r--r--Doc/libni.tex6
2 files changed, 12 insertions, 0 deletions
diff --git a/Doc/lib/libni.tex b/Doc/lib/libni.tex
index b0f07a8..eecbe19 100644
--- a/Doc/lib/libni.tex
+++ b/Doc/lib/libni.tex
@@ -2,6 +2,12 @@
\label{module-ni}
\bimodindex{ni}
+\strong{Warning: This module is obsolete.} As of Python 1.5a4,
+package support (with different semantics for \code{__init__} and no
+support for \code{__domain__} or\code{f__}) is built in the
+interpreter. The ni module is retained only for backward
+compatibility.
+
The \code{ni} module defines a new importing scheme, which supports
packages containing several Python modules. To enable package
support, execute \code{import ni} before importing any packages. Importing
diff --git a/Doc/libni.tex b/Doc/libni.tex
index b0f07a8..eecbe19 100644
--- a/Doc/libni.tex
+++ b/Doc/libni.tex
@@ -2,6 +2,12 @@
\label{module-ni}
\bimodindex{ni}
+\strong{Warning: This module is obsolete.} As of Python 1.5a4,
+package support (with different semantics for \code{__init__} and no
+support for \code{__domain__} or\code{f__}) is built in the
+interpreter. The ni module is retained only for backward
+compatibility.
+
The \code{ni} module defines a new importing scheme, which supports
packages containing several Python modules. To enable package
support, execute \code{import ni} before importing any packages. Importing