Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
b0274a23
Commit
b0274a23
authored
Mar 17, 2006
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove mention of lib-old, and list more deleted modules
parent
571e9865
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
17 deletions
+2
-17
Doc/whatsnew/whatsnew25.tex
Doc/whatsnew/whatsnew25.tex
+2
-17
No files found.
Doc/whatsnew/whatsnew25.tex
View file @
b0274a23
...
...
@@ -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}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment