René's URL Explorer Experiment


Title: [3.14] gh-153030: Fix quadratic complexity in incremental parsing in HTMLParser (GH-153031) by miss-islington · Pull Request #153039 · python/cpython · GitHub

Open Graph Title: [3.14] gh-153030: Fix quadratic complexity in incremental parsing in HTMLParser (GH-153031) by miss-islington · Pull Request #153039 · python/cpython

X Title: [3.14] gh-153030: Fix quadratic complexity in incremental parsing in HTMLParser (GH-153031) by miss-islington · Pull Request #153039 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: When an unterminated construct (e.g. a tag or comment) spanned many feed() calls, rescanning the growing buffer and concatenating new data onto it were both quadratic. New data is now accumulated ...

X Description: When an unterminated construct (e.g. a tag or comment) spanned many feed() calls, rescanning the growing buffer and concatenating new data onto it were both quadratic. New data is now accumulated ...

Mail addresses
storchaka@gmail.com
noreply@anthropic.com

Opengraph URL: https://github.com/python/cpython/pull/153039

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:f53cfe22-1553-2cff-0674-58e5700de1e9
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB2CA:2DE51:4533D9:6356CD:6AFDAA64
html-safe-noncea1c7780152a432bdfd4e56e627df4aece8f29d00bd0e91f61385270929a9f2cc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMkNBOjJERTUxOjQ1MzNEOTo2MzU2Q0Q6NkFGREFBNjQiLCJ2aXNpdG9yX2lkIjoiMjUyNDYyMDk5NTczMDE4ODkwMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac31eb89d6df070d4831f7cf324dab23d0ae9d36cb3a8e71a433c46dd640c3d6a8
hovercard-subject-tagpull_request:3991344294
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/153039/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/279f94dacfd2bcd39ef5aabc74c5cc11e16e457cfa64b259c4f99377759e336d/python/cpython/pull/153039
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/279f94dacfd2bcd39ef5aabc74c5cc11e16e457cfa64b259c4f99377759e336d/python/cpython/pull/153039
og:image:altWhen an unterminated construct (e.g. a tag or comment) spanned many feed() calls, rescanning the growing buffer and concatenating new data onto it were both quadratic. New data is now accumulated ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemiss-islington
hostnamegithub.com
expected-hostnamegithub.com
Nonebc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea
turbo-cache-controlno-cache
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release0ddf53eb35c87f1f8df13dbf75c3bdadbfc6e969
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/153039#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153039
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153039
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/153039
Reloadhttps://github.com/python/cpython/pull/153039
Reloadhttps://github.com/python/cpython/pull/153039
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
serhiy-storchakahttps://github.com/serhiy-storchaka
python:3.14https://github.com/python/cpython/tree/3.14
miss-islington:backport-bcf98dd-3.14https://github.com/miss-islington/cpython/tree/backport-bcf98dd-3.14
Conversationhttps://github.com/python/cpython/pull/153039
Commits1 (1)https://github.com/python/cpython/pull/153039/commits
Checkshttps://github.com/python/cpython/pull/153039/checks
Files changedhttps://github.com/python/cpython/pull/153039/files
[3.14] gh-153030: Fix quadratic complexity in incremental parsing in HTMLParser (GH-153031)https://github.com/python/cpython/pull/153039#top
serhiy-storchakahttps://github.com/serhiy-storchaka
python:3.14https://github.com/python/cpython/tree/3.14
miss-islington:backport-bcf98dd-3.14https://github.com/miss-islington/cpython/tree/backport-bcf98dd-3.14
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Jul 4, 2026https://github.com/python/cpython/pull/153039#issue-4809964339
Please reload this pagehttps://github.com/python/cpython/pull/153039
bcf98ddhttps://github.com/python/cpython/commit/bcf98ddbc40ec9b3ee87da0124a5660b19b7e606
Another worst case quadratic complexity in HTMLParser #153030https://github.com/python/cpython/issues/153030
Please reload this pagehttps://github.com/python/cpython/pull/153039
https://github.com/serhiy-storchaka
https://github.com/claude
https://github.com/miss-islington
pythongh-153030https://github.com/python/cpython/issues/153030
: Fix quadratic complexity in incremental parsing in H…https://github.com/python/cpython/pull/153039/commits/d4525f0d7c87af1247e8696334600674711267c9
d4525f0https://github.com/python/cpython/pull/153039/commits/d4525f0d7c87af1247e8696334600674711267c9
pythonGH-153031https://github.com/python/cpython/pull/153031
bcf98ddhttps://github.com/miss-islington/cpython/commit/bcf98ddbc40ec9b3ee87da0124a5660b19b7e606
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
ezio-melottihttps://github.com/ezio-melotti
code ownerhttps://github.com/python/cpython/blob/dfd2acb00937f0449270abf50c71e1e95251650c/.github/CODEOWNERS#L140
July 4, 2026 17:40https://github.com/python/cpython/pull/153039#event-27560558437
Another worst case quadratic complexity in HTMLParser #153030 https://github.com/python/cpython/issues/153030
gh-153030: Fix quadratic complexity in incremental parsing in HTMLParser #153031 https://github.com/python/cpython/pull/153031
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jul 4, 2026https://github.com/python/cpython/pull/153039#event-27560559958
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
July 4, 2026 17:41https://github.com/python/cpython/pull/153039#event-27560569432
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
07efb08https://github.com/python/cpython/commit/07efb08123ba9367a7107325adb9d5626dca1ca9
Jul 4, 2026https://github.com/python/cpython/pull/153039#event-27560905975
Please reload this pagehttps://github.com/python/cpython/pull/153039
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Jul 4, 2026https://github.com/python/cpython/pull/153039#event-27560906658
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
July 4, 2026 18:11https://github.com/python/cpython/pull/153039#event-27560945913
hrnciarhttps://github.com/hrnciar
Jul 10, 2026 https://github.com/python/cpython/pull/153039#ref-commit-7ed8ebd
https://github.com/miss-islington
https://github.com/serhiy-storchaka
https://github.com/claude
https://github.com/hrnciar
0490::https://github.com/fedora-python/cpython/commit/7ed8ebd042bb15c467241774f69e0eb2b41af57a
pythongh-153030https://github.com/python/cpython/issues/153030
: Fix quadratic complexity in incremental parsi…https://github.com/fedora-python/cpython/commit/7ed8ebd042bb15c467241774f69e0eb2b41af57a
7ed8ebdhttps://github.com/fedora-python/cpython/commit/7ed8ebd042bb15c467241774f69e0eb2b41af57a
pythonGH-153031https://github.com/python/cpython/pull/153031
pythonGH-153039https://github.com/python/cpython/pull/153039
bcf98ddhttps://github.com/fedora-python/cpython/commit/bcf98ddbc40ec9b3ee87da0124a5660b19b7e606
hrnciarhttps://github.com/hrnciar
Jul 10, 2026 https://github.com/python/cpython/pull/153039#ref-commit-facdcb0
https://github.com/miss-islington
https://github.com/serhiy-storchaka
https://github.com/claude
https://github.com/hrnciar
00490::https://github.com/fedora-python/cpython/commit/facdcb02da4f4ea67d178a32c682a9c14f4a22bb
pythongh-153030https://github.com/python/cpython/issues/153030
: Fix quadratic complexity in incremental pars…https://github.com/fedora-python/cpython/commit/facdcb02da4f4ea67d178a32c682a9c14f4a22bb
facdcb0https://github.com/fedora-python/cpython/commit/facdcb02da4f4ea67d178a32c682a9c14f4a22bb
pythonGH-153031https://github.com/python/cpython/pull/153031
pythonGH-153039https://github.com/python/cpython/pull/153039
bcf98ddhttps://github.com/fedora-python/cpython/commit/bcf98ddbc40ec9b3ee87da0124a5660b19b7e606
hrnciarhttps://github.com/hrnciar
Jul 10, 2026 https://github.com/python/cpython/pull/153039#ref-commit-8cf561a
https://github.com/miss-islington
https://github.com/serhiy-storchaka
https://github.com/claude
https://github.com/hrnciar
00490:https://github.com/fedora-python/cpython/commit/8cf561a89b09c3db828e85f37f2499a8286f6fc6
CVE-2026-15308https://github.com/advisories/GHSA-7qj2-q5c8-cxx5
8cf561ahttps://github.com/fedora-python/cpython/commit/8cf561a89b09c3db828e85f37f2499a8286f6fc6
pythongh-153030https://github.com/python/cpython/issues/153030
pythonGH-153031https://github.com/python/cpython/pull/153031
pythonGH-153039https://github.com/python/cpython/pull/153039
bcf98ddhttps://github.com/fedora-python/cpython/commit/bcf98ddbc40ec9b3ee87da0124a5660b19b7e606
https://github.com/LearningCircuit
LearningCircuithttps://github.com/LearningCircuit
Jul 11, 2026 https://github.com/python/cpython/pull/153039#ref-pullrequest-4861273386
fix(security): grype ignore for CVE-2026-15308 (CPython html.parser DoS) LearningCircuit/local-deep-research#5046 https://github.com/LearningCircuit/local-deep-research/pull/5046
LearningCircuithttps://github.com/LearningCircuit
Jul 11, 2026 https://github.com/python/cpython/pull/153039#ref-commit-23de203
https://github.com/LearningCircuit
fix(security): grype ignore forhttps://github.com/LearningCircuit/local-deep-research/commit/23de203d6e7ac34935d5d272642778793d1d1249
CVE-2026-15308https://github.com/advisories/GHSA-7qj2-q5c8-cxx5
(CPython html.parser D…https://github.com/LearningCircuit/local-deep-research/commit/23de203d6e7ac34935d5d272642778793d1d1249
23de203https://github.com/LearningCircuit/local-deep-research/commit/23de203d6e7ac34935d5d272642778793d1d1249
#5046https://github.com/LearningCircuit/local-deep-research/pull/5046
#8034https://github.com/LearningCircuit/local-deep-research/issues/8034
CVE-2026-15308https://github.com/advisories/GHSA-7qj2-q5c8-cxx5
CVE-2026-4360https://github.com/advisories/GHSA-gf2w-jqmq-fcm8
#5044https://github.com/LearningCircuit/local-deep-research/pull/5044
python/cpython#153039https://github.com/python/cpython/pull/153039
Group A CPython interpreter CVEs on 3.14 — accepted risk until the next 3.14.x point release tyler-rich/Scrye#98 https://github.com/tyler-rich/Scrye/issues/98
docs(ci): re-verify Group A interpreter CVEs on 3.14 and re-point waivers at #98 tyler-rich/Scrye#99 https://github.com/tyler-rich/Scrye/pull/99
tyler-richhttps://github.com/tyler-rich
Jul 26, 2026 https://github.com/python/cpython/pull/153039#ref-commit-543b47e
https://github.com/tyler-rich
docs(ci): re-verify Group A interpreter CVEs on 3.14 and re-point wai…https://github.com/tyler-rich/Scrye/commit/543b47ee8a1f8e834546968c44235e4486c973f2
543b47ehttps://github.com/tyler-rich/Scrye/commit/543b47ee8a1f8e834546968c44235e4486c973f2
#98https://github.com/tyler-rich/Scrye/issues/98
#99https://github.com/tyler-rich/Scrye/pull/99
CVE-2026-15308https://github.com/advisories/GHSA-7qj2-q5c8-cxx5
CVE-2026-12003https://github.com/advisories/GHSA-2wqx-fp26-qh5v
python/cpython#153039https://github.com/python/cpython/pull/153039
#52https://github.com/tyler-rich/Scrye/issues/52
#98https://github.com/tyler-rich/Scrye/issues/98
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
Jul 29, 2026 https://github.com/python/cpython/pull/153039#ref-pullrequest-5009822802
helper-scripts: add default_if_empty to strings.bsh org-ai-assisted/helper-scripts#78 https://github.com/org-ai-assisted/helper-scripts/pull/78
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153039
https://github.com/ezio-melotti
ezio-melotti https://github.com/ezio-melotti
Please reload this pagehttps://github.com/python/cpython/pull/153039
Please reload this pagehttps://github.com/python/cpython/pull/153039
https://github.com/miss-islington
https://github.com/serhiy-storchaka
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.