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
2c4e462e
Commit
2c4e462e
authored
Jun 20, 2006
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add four library items
parent
f6856cef
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
Doc/whatsnew/whatsnew25.tex
Doc/whatsnew/whatsnew25.tex
+23
-0
No files found.
Doc/whatsnew/whatsnew25.tex
View file @
2c4e462e
...
@@ -1384,6 +1384,12 @@ keeps an example from being executed at all. This is intended for
...
@@ -1384,6 +1384,12 @@ keeps an example from being executed at all. This is intended for
code snippets that are usage examples intended for the reader and
code snippets that are usage examples intended for the reader and
aren't actually test cases.
aren't actually test cases.
An
\var
{
encoding
}
parameter was added to the
\function
{
testfile()
}
function and the
\class
{
DocFileSuite
}
class to specify the file's
encoding. This makes it easier to use non-ASCII characters in
tests contained within a docstring. (Contributed by Bjorn Tillenius.)
% Patch 1080727
\item
The
\module
{
fileinput
}
module was made more flexible.
\item
The
\module
{
fileinput
}
module was made more flexible.
Unicode filenames are now supported, and a
\var
{
mode
}
parameter that
Unicode filenames are now supported, and a
\var
{
mode
}
parameter that
defaults to
\code
{
"r"
}
was added to the
defaults to
\code
{
"r"
}
was added to the
...
@@ -1540,6 +1546,9 @@ tuple slicing, method lookups, and numeric operations, instead of
...
@@ -1540,6 +1546,9 @@ tuple slicing, method lookups, and numeric operations, instead of
performing many different operations and reducing the result to a
performing many different operations and reducing the result to a
single number as
\file
{
pystone.py
}
does.
single number as
\file
{
pystone.py
}
does.
\item
The
\module
{
pyexpat
}
module now uses version 2.0 of the Expat parser.
(Contributed by Trent Mick.)
\item
The old
\module
{
regex
}
and
\module
{
regsub
}
modules, which have been
\item
The old
\module
{
regex
}
and
\module
{
regsub
}
modules, which have been
deprecated ever since Python 2.0, have finally been deleted.
deprecated ever since Python 2.0, have finally been deleted.
Other deleted modules:
\module
{
statcache
}
,
\module
{
tzparse
}
,
Other deleted modules:
\module
{
statcache
}
,
\module
{
tzparse
}
,
...
@@ -1682,6 +1691,14 @@ UUID('886313e1-3b8a-5372-9b90-0c9aee199e5d')
...
@@ -1682,6 +1691,14 @@ UUID('886313e1-3b8a-5372-9b90-0c9aee199e5d')
(Contributed by Ka-Ping Yee.)
(Contributed by Ka-Ping Yee.)
\item
The
\module
{
weakref
}
module's
\class
{
WeakKeyDictionary
}
and
\class
{
WeakValueDictionary
}
types gained new methods for iterating
over the weak references contained in the dictionary.
\method
{
iterkeyrefs()
}
and
\method
{
keyrefs()
}
methods were
added to
\class
{
WeakKeyDictionary
}
, and
\method
{
itervaluerefs()
}
and
\method
{
valuerefs()
}
were added to
\class
{
WeakValueDictionary
}
. (Contributed by Fred L.~Drake, Jr.)
\item
The
\module
{
webbrowser
}
module received a number of
\item
The
\module
{
webbrowser
}
module received a number of
enhancements.
enhancements.
It's now usable as a script with
\code
{
python -m webbrowser
}
, taking a
It's now usable as a script with
\code
{
python -m webbrowser
}
, taking a
...
@@ -1705,6 +1722,12 @@ Brandl.)
...
@@ -1705,6 +1722,12 @@ Brandl.)
(Contributed by Skip Montanaro.)
(Contributed by Skip Montanaro.)
% Patch 1120353
% Patch 1120353
\item
The
\module
{
zipfile
}
module now supports the ZIP64 version of the
format, meaning that a .zip archive can now be larger than 4 GiB and
can contain individual files larger than 4 GiB. (Contributed by
Ronald Oussoren.)
% Patch 1446489
\item
The
\module
{
zlib
}
module's
\class
{
Compress
}
and
\class
{
Decompress
}
\item
The
\module
{
zlib
}
module's
\class
{
Compress
}
and
\class
{
Decompress
}
objects now support a
\method
{
copy()
}
method that makes a copy of the
objects now support a
\method
{
copy()
}
method that makes a copy of the
object's internal state and returns a new
object's internal state and returns a new
...
...
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