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
10183b8e
Commit
10183b8e
authored
Jul 31, 2006
by
Andrew McNamara
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Redo the comment about the 2.5 change in quoted-newline handling.
parent
6458452c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
Doc/lib/libcsv.tex
Doc/lib/libcsv.tex
+9
-7
No files found.
Doc/lib/libcsv.tex
View file @
10183b8e
...
...
@@ -72,13 +72,15 @@ All data read are returned as strings. No automatic data type
conversion is performed.
\versionchanged
[
If literal newlines are important within a field, users need to read their
file in a way that preserves the newlines. The behavior before 2.5 would
introduce spurious characters into quoted fields, with no way for the user
to control that behavior. The previous behavior caused considerable
problems, particularly on platforms that did not use the
\UNIX
{}
line ending
conventions, or with files that originated on those platforms --- users were
finding mysterious newlines where they didn't expect them]
{
2.5
}
The parser is now stricter with respect to 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 behaviour caused problems when reading files
that embed carriage-return characters within fields, so in 2.5 the
behaviour 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 which preserves the newline
characters.]
{
2.5
}
\end{funcdesc}
...
...
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