René's URL Explorer Experiment


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

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

X Title: [3.12] gh-153030: Fix quadratic complexity in incremental parsing in HTMLParser (GH-153031) by miss-islington · Pull Request #153041 · 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/153041

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:c23a73d6-74ca-0899-f17c-9250e065749a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD196:3080FC:9D6AB:D90E6:6AFDAA60
html-safe-nonce19d3a51b27de0d0ef94e32893eeab3e0eda27fa441ab88e0c3819bd3064be35c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTk2OjMwODBGQzo5RDZBQjpEOTBFNjo2QUZEQUE2MCIsInZpc2l0b3JfaWQiOiIyNjE3MjYxMDM1MTIzMjIzMTM2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac6d113f3aa015c00b79fb24800032c57c64c63a3bd26d2949d78ddf417d1b436e
hovercard-subject-tagpull_request:3991344705
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/153041/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/dceb83d7ecf0bcd679ab314a3de1d2abc382450753338c0751345c1dc3bdb7ae/python/cpython/pull/153041
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dceb83d7ecf0bcd679ab314a3de1d2abc382450753338c0751345c1dc3bdb7ae/python/cpython/pull/153041
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/153041#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F153041
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%2F153041
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/153041
Reloadhttps://github.com/python/cpython/pull/153041
Reloadhttps://github.com/python/cpython/pull/153041
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
Yhg1shttps://github.com/Yhg1s
python:3.12https://github.com/python/cpython/tree/3.12
miss-islington:backport-bcf98dd-3.12https://github.com/miss-islington/cpython/tree/backport-bcf98dd-3.12
Conversationhttps://github.com/python/cpython/pull/153041
Commits1 (1)https://github.com/python/cpython/pull/153041/commits
Checkshttps://github.com/python/cpython/pull/153041/checks
Files changedhttps://github.com/python/cpython/pull/153041/files
[3.12] gh-153030: Fix quadratic complexity in incremental parsing in HTMLParser (GH-153031)https://github.com/python/cpython/pull/153041#top
Yhg1shttps://github.com/Yhg1s
python:3.12https://github.com/python/cpython/tree/3.12
miss-islington:backport-bcf98dd-3.12https://github.com/miss-islington/cpython/tree/backport-bcf98dd-3.12
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
Jul 4, 2026https://github.com/python/cpython/pull/153041#issue-4809964876
Please reload this pagehttps://github.com/python/cpython/pull/153041
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/153041
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/153041/commits/effae3f6f868409068cc0b7ab16fe8e4251352be
effae3fhttps://github.com/python/cpython/pull/153041/commits/effae3f6f868409068cc0b7ab16fe8e4251352be
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/7c999be49dee7f12703e4b2e07e990544fabd40e/.github/CODEOWNERS#L66
July 4, 2026 17:40https://github.com/python/cpython/pull/153041#event-27560560919
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/153041#event-27560562386
https://github.com/apps/read-the-docs-community
read-the-docs-communityhttps://github.com/apps/read-the-docs-community
Jul 4, 2026https://github.com/python/cpython/pull/153041#issuecomment-4883290776
cpython-previewshttps://app.readthedocs.org/projects/cpython-previews/
#33440940https://app.readthedocs.org/projects/cpython-previews/builds/33440940/
effae3fhttps://github.com/python/cpython/commit/effae3f6f868409068cc0b7ab16fe8e4251352be
mainhttps://cpython-previews.readthedocs.io/en/main/
bcf98ddhttps://github.com/python/cpython/commit/bcf98ddbc40ec9b3ee87da0124a5660b19b7e606
  🔍 Preview build   https://cpython-previews--153041.org.readthedocs.build/en/153041/
c-api/objbuffer.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/c-api/objbuffer.html
library/2to3.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/library/2to3.html
library/asyncio-policy.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/library/asyncio-policy.html
library/tkinter.tix.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/library/tkinter.tix.html
about.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/about.html
bugs.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/bugs.html
copyright.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/copyright.html
glossary.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/glossary.html
index.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/index.html
license.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/license.html
py-modindex.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/py-modindex.html
c-api/abstract.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/c-api/abstract.html
c-api/allocation.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/c-api/allocation.html
c-api/apiabiversion.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/c-api/apiabiversion.html
404.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/404.html
improve-page-nojs.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/improve-page-nojs.html
improve-page.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/improve-page.html
_static/tachyon-example-flamegraph.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/_static/tachyon-example-flamegraph.html
_static/tachyon-example-heatmap.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/_static/tachyon-example-heatmap.html
c-api/curses.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/c-api/curses.html
c-api/extension-modules.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/c-api/extension-modules.html
c-api/interp-lifecycle.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/c-api/interp-lifecycle.html
c-api/lifecycle.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/c-api/lifecycle.html
c-api/monitoring.htmlhttps://cpython-previews--153041.org.readthedocs.build/en/153041/c-api/monitoring.html
Please reload this pagehttps://github.com/python/cpython/pull/153041
jef-nhttps://github.com/jef-n
Jul 10, 2026 https://github.com/python/cpython/pull/153041#ref-commit-c57b870
https://github.com/jef-n
* sfcgal: update to 2.3.0https://github.com/jef-n/OSGeo4W/commit/c57b870f8a781998dfc63f64379249e41224bdd1
https://github.com/jef-n/OSGeo4W/commit/c57b870f8a781998dfc63f64379249e41224bdd1#comments
c57b870https://github.com/jef-n/OSGeo4W/commit/c57b870f8a781998dfc63f64379249e41224bdd1
python/cpython#153041https://github.com/python/cpython/pull/153041
CVE-2026-15308https://github.com/advisories/GHSA-7qj2-q5c8-cxx5
https://github.com/chrisahl
chrisahlhttps://github.com/chrisahl
Jul 30, 2026https://github.com/python/cpython/pull/153041#issuecomment-5134595121
Please reload this pagehttps://github.com/python/cpython/pull/153041
https://github.com/Yhg1s
Yhg1shttps://github.com/Yhg1s
785df8fhttps://github.com/python/cpython/commit/785df8f743800661961528970f8598edcd291c14
Aug 4, 2026https://github.com/python/cpython/pull/153041#event-28939322110
Please reload this pagehttps://github.com/python/cpython/pull/153041
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
Aug 4, 2026https://github.com/python/cpython/pull/153041#event-28939324745
https://github.com/miss-islington
miss-islingtonhttps://github.com/miss-islington
August 4, 2026 09:28https://github.com/python/cpython/pull/153041#event-28939326150
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%2F153041
https://github.com/ezio-melotti
ezio-melotti https://github.com/ezio-melotti
Please reload this pagehttps://github.com/python/cpython/pull/153041
Please reload this pagehttps://github.com/python/cpython/pull/153041
https://github.com/miss-islington
https://github.com/chrisahl
https://github.com/Yhg1s
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.