Skip to content

[3.10] gh-109638: Fix exponential time in csv.Sniffer for doubled quotes (GH-154868) (GH-155113) - #155116

Open
miss-islington wants to merge 2 commits into
python:3.10from
miss-islington:backport-eaa9bac-3.10
Open

[3.10] gh-109638: Fix exponential time in csv.Sniffer for doubled quotes (GH-154868) (GH-155113)#155116
miss-islington wants to merge 2 commits into
python:3.10from
miss-islington:backport-eaa9bac-3.10

Conversation

@miss-islington

@miss-islington miss-islington commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

(cherry picked from commit eaa9bac)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com
(cherry picked from commit d52184b)

…ed quotes (pythonGH-154868) (pythonGH-155113)

(cherry picked from commit eaa9bac)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
(cherry picked from commit d52184b)
@serhiy-storchaka

Copy link
Copy Markdown
Member

After merging, please create a backport of #155166.

They were added in 3.11.  An unrolled loop is unambiguous at every
position, so it does not backtrack either.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants