Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
gh-136063: fix quadratic-complexity parsing in email.message._parseparam#136072
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
Uh oh!
There was an error while loading. Please reload this page.
Conversation
picnixz commented Jun 28, 2025 • edited by bedevere-app bot
Loading Uh oh!
There was an error while loading. Please reload this page.
edited by bedevere-app bot
Uh oh!
There was an error while loading. Please reload this page.
8763366 to d356a14CompareUh oh!
There was an error while loading. Please reload this page.
picnixz commented Jul 29, 2025
@serhiy-storchaka friendly ping |
680a5d0 into python:mainUh oh!
There was an error while loading. Please reload this page.
…parseparam` (pythonGH-136072) (cherry picked from commit 680a5d0) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
…parseparam` (pythonGH-136072) (cherry picked from commit 680a5d0) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
GH-140827 is a backport of this pull request to the 3.14 branch. |
…parseparam` (pythonGH-136072) (cherry picked from commit 680a5d0) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
GH-140828 is a backport of this pull request to the 3.13 branch. |
…parseparam` (pythonGH-136072) (cherry picked from commit 680a5d0) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
GH-140829 is a backport of this pull request to the 3.12 branch. |
…parseparam` (pythonGH-136072) (cherry picked from commit 680a5d0) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
GH-140830 is a backport of this pull request to the 3.11 branch. |
…parseparam` (pythonGH-136072) (cherry picked from commit 680a5d0) Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
GH-140831 is a backport of this pull request to the 3.10 branch. |
GH-140832 is a backport of this pull request to the 3.9 branch. |
@serhiy-storchaka I think this one can be done without changing the interface. Just to be sure, but
count()andfind()have all linear complexities right (linear in the window they are using, not in the entire string).emailModule #136063