summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2006-03-17 15:39:52 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2006-03-17 15:39:52 (GMT)
commitf4b066084a14194586399452baf05e050d58122c (patch)
treec6e4ab7e7bced50963f58122715c14cc203a20bc /Doc
parent01e3d262ce1af3aa1f6c07e152b19759777d1e73 (diff)
downloadcpython-f4b066084a14194586399452baf05e050d58122c.zip
cpython-f4b066084a14194586399452baf05e050d58122c.tar.gz
cpython-f4b066084a14194586399452baf05e050d58122c.tar.bz2
Remove mention of lib-old, and list more deleted modules
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/whatsnew25.tex19
1 files changed, 2 insertions, 17 deletions
diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex
index 52a079f..0662515 100644
--- a/Doc/whatsnew/whatsnew25.tex
+++ b/Doc/whatsnew/whatsnew25.tex
@@ -599,6 +599,8 @@ The \member{st_flags} member is also available, if the platform supports it.
\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 @@ changes to your code:
\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}