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
f03991f7
Commit
f03991f7
authored
Jul 31, 2006
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Mention csv newline changes
parent
1bc15ea9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
Doc/whatsnew/whatsnew25.tex
Doc/whatsnew/whatsnew25.tex
+16
-0
No files found.
Doc/whatsnew/whatsnew25.tex
View file @
f03991f7
...
...
@@ -1393,6 +1393,17 @@ currently-set limit. The \class{reader} class now has a
\member
{
line
_
num
}
attribute that counts the number of physical lines
read from the source; records can span multiple physical lines, so
\member
{
line
_
num
}
is not the same as the number of records read.
The CSV parser is now stricter about multi-line quoted
fields. Previously, if a line ended within a quoted field without a
terminating newline character, a newline would be inserted into the
returned field. This behavior caused problems when reading files that
contained carriage return characters within fields, so the code was
changed to return the field without inserting newlines. As a
consequence, if newlines embedded within fields are important, the
input should be split into lines in a manner that preserves the
newline characters.
(Contributed by Skip Montanaro and Andrew McNamara.)
\item
The
\class
{
datetime
}
class in the
\module
{
datetime
}
...
...
@@ -2390,6 +2401,10 @@ was always a frame object. Because of the \pep{342} changes
described in section~
\ref
{
pep-342
}
, it's now possible
for
\member
{
gi
_
frame
}
to be
\code
{
None
}
.
\item
Library: the
\module
{
csv
}
module is now stricter about multi-line quoted
fields. If your files contain newlines embedded within fields, the
input should be split into lines in a manner which preserves the
newline characters.
\item
Library: The
\module
{
pickle
}
and
\module
{
cPickle
}
modules no
longer accept a return value of
\code
{
None
}
from the
...
...
@@ -2428,6 +2443,7 @@ The author would like to thank the following people for offering
suggestions, corrections and assistance with various drafts of this
article: Nick Coghlan, Phillip J. Eby, Lars Gust
\"
abel, Raymond Hettinger, Ralf
W. Grosse-Kunstleve, Kent Johnson, Martin von~L
\"
owis, Fredrik Lundh,
Andrew McNamara, Skip Montanaro,
Gustavo Niemeyer, James Pryor, Mike Rovner, Scott Weikart, Barry
Warsaw, Thomas Wouters.
...
...
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