Skip to content

[3.14] gh-103925: Fix csv.Sniffer for a quoted field ending a CRLF line (GH-103926) - #154323

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-70f7c6c-3.14
Jul 21, 2026
Merged

serhiy-storchaka merged 1 commit into
python:3.14from
miss-islington:backport-70f7c6c-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 21, 2026 •

Copy link
Copy Markdown
Contributor

"$" does not match before "\r" even in the MULTILINE mode, so such a
field was not found and the delimiter was guessed from character
frequencies instead, which could give a letter.
(cherry picked from commit 70f7c6c)

Co-authored-by: Zhou Wei lilaboc.cn@gmail.com
Co-authored-by: Serhiy Storchaka storchaka@gmail.com
Co-authored-by: Claude Opus 4.8 (1M context) noreply@anthropic.com

pythonGH-103926)

"$" does not match before "\r" even in the MULTILINE mode, so such a
field was not found and the delimiter was guessed from character
frequencies instead, which could give a letter.
(cherry picked from commit 70f7c6c)

Co-authored-by: Zhou Wei <lilaboc.cn@gmail.com>
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@serhiy-storchaka
serhiy-storchaka enabled auto-merge (squash) July 21, 2026 05:29
@serhiy-storchaka
serhiy-storchaka merged commit 42459c9 into python:3.14 Jul 21, 2026
44 of 47 checks passed
@miss-islington
miss-islington deleted the backport-70f7c6c-3.14 branch July 21, 2026 05:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants