Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bpo-32255: Always quote a single empty field when write into a CSV fi…
…le. (GH-4769) (#4810) This allows to distinguish an empty row from a row consisting of a single empty field. (cherry picked from commit 2001900)
- Loading branch information
1 parent
82adaf5
commit ce5a3cd
Showing
4 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
Misc/NEWS.d/next/Library/2017-12-12-07-29-06.bpo-32255.2bfNmM.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,3 @@ | |||
A single empty field is now always quoted when written into a CSV file. | |||
This allows to distinguish an empty row from a row consisting of a single empty field. | |||
Patch by Licht Takeuchi. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters