[Python-checkins] r43113 - python/trunk/Doc/whatsnew/whatsnew25.tex
andrew.kuchling
python-checkins at python.org
Fri Mar 17 16:39:53 CET 2006
Author: andrew.kuchling
Date: Fri Mar 17 16:39:52 2006
New Revision: 43113
Modified:
python/trunk/Doc/whatsnew/whatsnew25.tex
Log:
Remove mention of lib-old, and list more deleted modules
Modified: python/trunk/Doc/whatsnew/whatsnew25.tex
==============================================================================
--- python/trunk/Doc/whatsnew/whatsnew25.tex (original)
+++ python/trunk/Doc/whatsnew/whatsnew25.tex Fri Mar 17 16:39:52 2006
@@ -599,6 +599,8 @@
\item The old \module{regex} and \module{regsub} modules, which have been
deprecated ever since Python 2.0, have finally been deleted.
+Other deleted modules: \module{statcache}, \module{tzparse},
+\module{whrandom}.
\item The \file{lib-old} directory,
which includes ancient modules such as \module{dircmp} and
@@ -744,23 +746,6 @@
\begin{itemize}
-\item Some old deprecated modules (\module{statcache}, \module{tzparse},
- \module{whrandom}) have been moved to \file{Lib/lib-old}.
-You can get access to these modules again by adding the directory
-to your \code{sys.path}:
-
-\begin{verbatim}
-import os
-from distutils import sysconfig
-
-lib_dir = sysconfig.get_python_lib(standard_lib=True)
-old_dir = os.path.join(lib_dir, 'lib-old')
-sys.path.append(old_dir)
-\end{verbatim}
-
-Doing so is discouraged, however; it's better to update any code that
-still uses these modules.
-
% the pickle module no longer uses the deprecated bin parameter.
\end{itemize}
More information about the Python-checkins
mailing list