Added warning about ni's obsolescence. Retracted semantic changes

(i.e. when using ni, the old __init__.py semantics prevail!)
This commit is contained in:
Guido van Rossum 1997-09-07 03:02:39 +00:00
parent 593801142e
commit 16221126d6
2 changed files with 12 additions and 0 deletions

View File

@ -2,6 +2,12 @@
\label{module-ni} \label{module-ni}
\bimodindex{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 The \code{ni} module defines a new importing scheme, which supports
packages containing several Python modules. To enable package packages containing several Python modules. To enable package
support, execute \code{import ni} before importing any packages. Importing support, execute \code{import ni} before importing any packages. Importing

View File

@ -2,6 +2,12 @@
\label{module-ni} \label{module-ni}
\bimodindex{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 The \code{ni} module defines a new importing scheme, which supports
packages containing several Python modules. To enable package packages containing several Python modules. To enable package
support, execute \code{import ni} before importing any packages. Importing support, execute \code{import ni} before importing any packages. Importing