Skip to content

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

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-3.14-gh109638
Aug 3, 2026
Merged

[3.14] gh-109638: Fix exponential time in csv.Sniffer for doubled quotes (GH-154868)#155112
serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-3.14-gh109638

Conversation

@serhiy-storchaka

Copy link
Copy Markdown
Member

Manual backport of #154868 (commit d52184b).

Lib/csv.py applied cleanly. The conflict in Lib/test/test_csv.py was only in the surrounding context: the 3.15 file has tests from other PRs which are not backported, so only the five tests added by GH-154868 were taken.

@serhiy-storchaka
serhiy-storchaka merged commit ca87a0a into python:3.14 Aug 3, 2026
50 of 53 checks passed
@serhiy-storchaka
serhiy-storchaka deleted the backport-3.14-gh109638 branch August 3, 2026 11:47
@serhiy-storchaka serhiy-storchaka added the type-security A security issue label Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type-security A security issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant