These modules are not normally available for import; additional work
must be done to make them available.
Those which are written in Python will be installed into the directory
lib-old/ installed as part of the standard library. To use
these, the directory must be added to
sys.path, possibly using
Obsolete extension modules written in C are not built by default.
Under Unix, these must be enabled by uncommenting the appropriate
lines in Modules/Setup in the build tree and either rebuilding
Python if the modules are statically linked, or building and
installing the shared object if using dynamically-loaded extensions.
- -- New dir() function (the standard dir() is
now just as good)
- -- alternate approach to packages
- -- Extract function name or line number from a function
code object (these are now accessible as attributes:
- -- Print python code that reconstructs a variable
- -- text formatting abstractions (too slow)
- -- helper for fmt.py
- -- wrapper around FCNTL file locking (use
fcntl.lockf()/flock() intead; see fcntl)
- -- Polynomials
- -- Print tracebacks, with a dump of local variables (use
pdb.pm() or traceback instead)
- -- Measure time intervals to high resolution (use
time.clock() instead). (This is an extension module.)
- -- Useful functions that don't fit elsewhere.
- -- A primitive windowing debugger based on STDWIN.
- -- Recognize sound files; use sndhdr instead.
- -- Compute properties of mathematical "fields"
The following modules are obsolete, but are likely re-surface as tools
- -- find files matching pattern in directory tree
- -- grep
- -- create a self-unpacking Unix shell archive
The following modules were documented in previous versions of this
manual, but are now considered obsolete. The source for the
documentation is still available as part of the documentation source
- -- Import modules in ``packages.'' Basic package support is now
- -- Old interface to the random number generator.
- -- Algorithm for collapsing names which sound similar to a shared
key. (This is an extension module.)
Send comments on this document to email@example.com.