Skip to content

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

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

[3.13] gh-109638: Fix exponential time in csv.Sniffer for doubled quotes (GH-154868)#155113
serhiy-storchaka merged 1 commit into
python:3.13from
serhiy-storchaka:backport-3.13-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 eaa9bac into python:3.13 Aug 3, 2026
43 of 46 checks passed
@serhiy-storchaka
serhiy-storchaka deleted the backport-3.13-gh109638 branch August 3, 2026 11:47
@serhiy-storchaka serhiy-storchaka added needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes needs backport to 3.12 only security fixes labels Aug 3, 2026
@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@bedevere-app

bedevere-app Bot commented Aug 3, 2026

Copy link
Copy Markdown

GH-155114 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Aug 3, 2026
@bedevere-app

bedevere-app Bot commented Aug 3, 2026

Copy link
Copy Markdown

GH-155115 is a backport of this pull request to the 3.11 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.11 only security fixes label Aug 3, 2026
@bedevere-app

bedevere-app Bot commented Aug 3, 2026

Copy link
Copy Markdown

GH-155116 is a backport of this pull request to the 3.10 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.10 only security fixes label Aug 3, 2026
@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