| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:378a2d58-5946-7be3-2d59-66d838a41c2e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E258:21C9D6:3DDB5B0:555A718:6A54C7B9 |
| html-safe-nonce | f1fae50269c66e4d6b23b49cc5d213b386f432790b2942ac71e69bd893ab9cae |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjU4OjIxQzlENjozRERCNUIwOjU1NUE3MTg6NkE1NEM3QjkiLCJ2aXNpdG9yX2lkIjoiMTY5ODk2NTY0MzkwMTMyMzE5MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0015fbbdabd09cc6a8c1812c902511fe4600b7bd1a63770c33015e7c18f6fc06 |
| hovercard-subject-tag | pull_request:3831545605 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/151151/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/154fbc72e89dd0507a184695cba6cbf2c4d83d4a4edf4c25975496d5acb24592/python/cpython/pull/151151 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/154fbc72e89dd0507a184695cba6cbf2c4d83d4a4edf4c25975496d5acb24592/python/cpython/pull/151151 |
| og:image:alt | Expose the XML Expat 2.7.2 APIs to tune protections against "billion laughs" 1 attacks.
The exposed APIs are available on Expat parsers, that is, parsers created by xml.parsers.expat.Pars... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | StanFromIreland |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6e5f2e6ff3f430aa60a674066f957bca9f2106017e1b68126417422b58ce6e1e |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | be4d48619391052c9d312c7b587bb2ac38a97f57 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/151151#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F151151 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F151151 |
|
Sign up
| https://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 |
| Reload | https://github.com/python/cpython/pull/151151 |
| Reload | https://github.com/python/cpython/pull/151151 |
| Reload | https://github.com/python/cpython/pull/151151 |
| Please reload this page | https://github.com/python/cpython/pull/151151 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/151151 |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| StanFromIreland | https://github.com/StanFromIreland |
| python:3.13 | https://github.com/python/cpython/tree/3.13 |
| StanFromIreland:backport-c078637-3.13 | https://github.com/StanFromIreland/cpython/tree/backport-c078637-3.13 |
| Conversation | https://github.com/python/cpython/pull/151151 |
| Commits1 (1) | https://github.com/python/cpython/pull/151151/commits |
| Checks | https://github.com/python/cpython/pull/151151/checks |
| Files changed | https://github.com/python/cpython/pull/151151/files |
| [3.13] gh-90949: expose Expat API to tune exponential expansion protections (GH-139368) | https://github.com/python/cpython/pull/151151#top |
| StanFromIreland | https://github.com/StanFromIreland |
| python:3.13 | https://github.com/python/cpython/tree/3.13 |
| StanFromIreland:backport-c078637-3.13 | https://github.com/StanFromIreland/cpython/tree/backport-c078637-3.13 |
|
| https://github.com/StanFromIreland |
| StanFromIreland | https://github.com/StanFromIreland |
| Jun 9, 2026 | https://github.com/python/cpython/pull/151151#issue-4622054196 |
| Please reload this page | https://github.com/python/cpython/pull/151151 |
| 1 | https://en.wikipedia.org/wiki/Billion_laughs_attack |
| f04bea4 | https://github.com/python/cpython/commit/f04bea44c37793561d753dd4ca6e7cd658137553 |
| 6661123 | https://github.com/python/cpython/commit/666112376d574c7802646ee1df6244062671cd61 |
| Expose Expat XML attack protection APIs #90949 | https://github.com/python/cpython/issues/90949 |
| Please reload this page | https://github.com/python/cpython/pull/151151 |
|
| https://github.com/StanFromIreland |
|
| https://github.com/picnixz |
| [3.13] | https://github.com/python/cpython/pull/151151/commits/37af8f0b9a4e95dda297ed5418ddef4462143eed |
| pythongh-90949 | https://github.com/python/cpython/issues/90949 |
| : expose Expat API to tune exponential expansion… | https://github.com/python/cpython/pull/151151/commits/37af8f0b9a4e95dda297ed5418ddef4462143eed |
| 37af8f0 | https://github.com/python/cpython/pull/151151/commits/37af8f0b9a4e95dda297ed5418ddef4462143eed |
| pythonGH-139368 | https://github.com/python/cpython/pull/139368 |
| python#150496 | https://github.com/python/cpython/pull/150496 |
| f04bea4 | https://github.com/StanFromIreland/cpython/commit/f04bea44c37793561d753dd4ca6e7cd658137553 |
| https://en.wikipedia.org/wiki/Billion_laughs_attack | https://en.wikipedia.org/wiki/Billion_laughs_attack |
| 6661123 | https://github.com/StanFromIreland/cpython/commit/666112376d574c7802646ee1df6244062671cd61 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Jun 9, 2026 | https://github.com/python/cpython/pull/151151#event-26523170273 |
|
Expose Expat XML attack protection APIs
#90949
| https://github.com/python/cpython/issues/90949 |
|
[3.14] gh-90949: expose Expat API to tune exponential expansion protections (GH-139368)
#150496
| https://github.com/python/cpython/pull/150496 |
| https://github.com/StanFromIreland |
| StanFromIreland | https://github.com/StanFromIreland |
|
Jun 9, 2026
| https://github.com/python/cpython/pull/151151#pullrequestreview-4458665804 |
|
View reviewed changes
| https://github.com/python/cpython/pull/151151/files/37af8f0b9a4e95dda297ed5418ddef4462143eed |
| Misc/NEWS.d/3.13.10.rst | https://github.com/python/cpython/pull/151151/files/37af8f0b9a4e95dda297ed5418ddef4462143eed#diff-58fb190f6670b9624dee65ee1c07583205c40df7b9a929d679694062f45475de |
| StanFromIreland | https://github.com/StanFromIreland |
| Jun 9, 2026 | https://github.com/python/cpython/pull/151151#discussion_r3380701244 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| c078637 | https://github.com/python/cpython/commit/c078637e8642783d90b33c6b983fa15ff29c24d6 |
| Please reload this page | https://github.com/python/cpython/pull/151151 |
| https://github.com/StanFromIreland |
| StanFromIreland | https://github.com/StanFromIreland |
| picnixz | https://github.com/picnixz |
| June 9, 2026 12:49 | https://github.com/python/cpython/pull/151151#event-26523242450 |
| https://github.com/apps/read-the-docs-community |
| read-the-docs-community | https://github.com/apps/read-the-docs-community |
| Jun 9, 2026 | https://github.com/python/cpython/pull/151151#issuecomment-4659881958 |
| cpython-previews | https://app.readthedocs.org/projects/cpython-previews/ |
| #33057787 | https://app.readthedocs.org/projects/cpython-previews/builds/33057787/ |
| 37af8f0 | https://github.com/python/cpython/commit/37af8f0b9a4e95dda297ed5418ddef4462143eed |
| main | https://cpython-previews.readthedocs.io/en/main/ |
| 9fdbade | https://github.com/python/cpython/commit/9fdbade99e6bcc607d9f12416bfca5bbf94022b9 |
| 🔍 Preview build | https://cpython-previews--151151.org.readthedocs.build/en/151151/ |
| about.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/about.html |
| bugs.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/bugs.html |
| copyright.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/copyright.html |
| glossary.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/glossary.html |
| index.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/index.html |
| license.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/license.html |
| py-modindex.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/py-modindex.html |
| c-api/allocation.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/c-api/allocation.html |
| c-api/apiabiversion.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/c-api/apiabiversion.html |
| c-api/arg.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/c-api/arg.html |
| improve-page-nojs.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/improve-page-nojs.html |
| improve-page.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/improve-page.html |
| _static/tachyon-example-flamegraph.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/_static/tachyon-example-flamegraph.html |
| _static/tachyon-example-heatmap.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/_static/tachyon-example-heatmap.html |
| c-api/extension-modules.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/c-api/extension-modules.html |
| c-api/interp-lifecycle.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/c-api/interp-lifecycle.html |
| c-api/lifecycle.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/c-api/lifecycle.html |
| c-api/profiling.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/c-api/profiling.html |
| c-api/sentinel.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/c-api/sentinel.html |
| c-api/slots.html | https://cpython-previews--151151.org.readthedocs.build/en/151151/c-api/slots.html |
| Please reload this page | https://github.com/python/cpython/pull/151151 |
| https://github.com/StanFromIreland |
| StanFromIreland | https://github.com/StanFromIreland |
| Jun 9, 2026 | https://github.com/python/cpython/pull/151151#event-26524652494 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Jun 9, 2026
| https://github.com/python/cpython/pull/151151#ref-pullrequest-3458324409 |
|
gh-90949: expose Expat API to tune exponential expansion protections
#139368
| https://github.com/python/cpython/pull/139368 |
| https://github.com/StanFromIreland |
| StanFromIreland | https://github.com/StanFromIreland |
|
Jun 9, 2026
| https://github.com/python/cpython/pull/151151#ref-pullrequest-4416343017 |
|
[3.14] gh-149018: Use XML_SetHashSalt16Bytes in pyexpat/_elementtree when possible (GH-149023)
#149646
| https://github.com/python/cpython/pull/149646 |
| https://github.com/picnixz |
| picnixz | https://github.com/picnixz |
|
Jun 9, 2026
| https://github.com/python/cpython/pull/151151#pullrequestreview-4459460987 |
|
View reviewed changes
| https://github.com/python/cpython/pull/151151/files/37af8f0b9a4e95dda297ed5418ddef4462143eed |
| picnixz | https://github.com/picnixz |
| https://github.com/python/cpython/pull/151151#pullrequestreview-4459460987 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/151151 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
|
awaiting core review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22 |
| Jun 9, 2026 | https://github.com/python/cpython/pull/151151#event-26527329484 |
| https://github.com/StanFromIreland |
| StanFromIreland | https://github.com/StanFromIreland |
| 19bc391 | https://github.com/python/cpython/commit/19bc39127e5c916c42c54487a1ae68be76582f50 |
| Jun 9, 2026 | https://github.com/python/cpython/pull/151151#event-26527749215 |
| Please reload this page | https://github.com/python/cpython/pull/151151 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting merge
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22 |
| Jun 9, 2026 | https://github.com/python/cpython/pull/151151#event-26527752065 |
| https://github.com/StanFromIreland |
| StanFromIreland | https://github.com/StanFromIreland |
| June 9, 2026 14:23 | https://github.com/python/cpython/pull/151151#event-26527753921 |
| https://github.com/StanFromIreland |
| StanFromIreland | https://github.com/StanFromIreland |
|
needs backport to 3.12
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22 |
| Jun 12, 2026 | https://github.com/python/cpython/pull/151151#event-26676182849 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Jun 12, 2026 | https://github.com/python/cpython/pull/151151#issuecomment-4691513994 |
| @StanFromIreland | https://github.com/StanFromIreland |
| Please reload this page | https://github.com/python/cpython/pull/151151 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| Jun 12, 2026 | https://github.com/python/cpython/pull/151151#issuecomment-4691514382 |
| @StanFromIreland | https://github.com/StanFromIreland |
| cherry_picker | https://pypi.org/project/cherry-picker/ |
| Please reload this page | https://github.com/python/cpython/pull/151151 |
| https://github.com/apps/miss-islington-app |
| miss-islington-app | https://github.com/apps/miss-islington-app |
| StanFromIreland | https://github.com/StanFromIreland |
| Jun 12, 2026 | https://github.com/python/cpython/pull/151151#event-26676187731 |
| https://github.com/StanFromIreland |
| StanFromIreland | https://github.com/StanFromIreland |
| Jun 12, 2026 | https://github.com/python/cpython/pull/151151#issuecomment-4691516583 |
| Please reload this page | https://github.com/python/cpython/pull/151151 |
| https://github.com/StanFromIreland |
| StanFromIreland | https://github.com/StanFromIreland |
|
needs backport to 3.12
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22needs%20backport%20to%203.12%22 |
| Jun 12, 2026 | https://github.com/python/cpython/pull/151151#event-26676284213 |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F151151 |
|
| https://github.com/picnixz |
|
picnixz
| https://github.com/picnixz |
|
| https://github.com/python/cpython/pull/151151/files/37af8f0b9a4e95dda297ed5418ddef4462143eed |
|
| https://github.com/StanFromIreland |
|
StanFromIreland
| https://github.com/StanFromIreland |
| Please reload this page | https://github.com/python/cpython/pull/151151 |
|
| https://github.com/StanFromIreland |
|
| https://github.com/picnixz |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |