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
588a95d5
Commit
588a95d5
authored
Mar 30, 2007
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add item. (Oops, accidentally checked this in on my branch)
parent
f3c123d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
Doc/whatsnew/whatsnew25.tex
Doc/whatsnew/whatsnew25.tex
+11
-0
No files found.
Doc/whatsnew/whatsnew25.tex
View file @
588a95d5
...
...
@@ -1294,6 +1294,17 @@ the function is 6 times faster.
(Contributed by Alan McIntyre and committed at the NeedForSpeed sprint.)
% Patch 1442927
\item
It's now illegal to mix iterating over a file
with
\code
{
for line in
\var
{
file
}}
and calling
the file object's
\method
{
read()
}
/
\method
{
readline()
}
/
\method
{
readlines()
}
methods. Iteration uses an internal buffer and the
\method
{
read*()
}
methods don't use that buffer.
Instead they would return the data following the buffer, causing the
data to appear out of order. Mixing iteration and these methods will
now trigger a
\exception
{
ValueError
}
from the
\method
{
read*()
}
method.
(Implemented by Thomas Wouters.)
% Patch 1397960
\item
The
\module
{
struct
}
module now compiles structure format
strings into an internal representation and caches this
representation, yielding a 20
\%
speedup. (Contributed by Bob Ippolito
...
...
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