-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-115712: Support CSV dialects with delimiter=' ' and skipinitialspace=True #115721
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-115712: Support CSV dialects with delimiter=' ' and skipinitialspace=True #115721
Conversation
…ialspace=True Restore support of such combination, disabled in pythongh-113796. csv.writer() now quotes empty fields if delimiter is a space and skipinitialspace is true and raises exception if quoting is not possible.
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, @serhiy-storchaka, I could not cleanly backport this to
|
Sorry, @serhiy-storchaka, I could not cleanly backport this to
|
…kipinitialspace=True (pythonGH-115721) Restore support of such combination, disabled in pythongh-113796. csv.writer() now quotes empty fields if delimiter is a space and skipinitialspace is true and raises exception if quoting is not possible. (cherry picked from commit 937d282) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-115729 is a backport of this pull request to the 3.12 branch. |
…' and skipinitialspace=True (pythonGH-115721) (pythonGH-115729) (cherry picked from commit 5ea86f4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> csv.writer() now quotes empty fields if delimiter is a space and skipinitialspace is true and raises exception if quoting is not possible. (cherry picked from commit 937d282)
…tialspace=True (GH-115721) (GH-115729) (GH-115738) (cherry picked from commit 5ea86f4) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> csv.writer() now quotes empty fields if delimiter is a space and skipinitialspace is true and raises exception if quoting is not possible. (cherry picked from commit 937d282)
…ialspace=True (pythonGH-115721) Restore support of such combination, disabled in pythongh-113796. csv.writer() now quotes empty fields if delimiter is a space and skipinitialspace is true and raises exception if quoting is not possible.
…ialspace=True (pythonGH-115721) Restore support of such combination, disabled in pythongh-113796. csv.writer() now quotes empty fields if delimiter is a space and skipinitialspace is true and raises exception if quoting is not possible.
…ialspace=True (pythonGH-115721) Restore support of such combination, disabled in pythongh-113796. csv.writer() now quotes empty fields if delimiter is a space and skipinitialspace is true and raises exception if quoting is not possible.
Restore support of such combination, disabled in gh-113796.
csv.writer() now quotes empty fields if delimiter is a space and skipinitialspace is true and raises exception if quoting is not possible.