| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:b015c310-2562-3f0e-8440-1325e3b212a8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 9B62:3CF864:FEFE3C:151558C:6A51A36A |
| html-safe-nonce | d18400b29f70e0961cc0814f05b1f8e91ade9c4eda5a751e9d55d01be8a4cde4 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QjYyOjNDRjg2NDpGRUZFM0M6MTUxNTU4Qzo2QTUxQTM2QSIsInZpc2l0b3JfaWQiOiI4ODM4Nzg5MTczNjIyMTg2ODU5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4501094b5082f19b23947287e63135fcb1ed6a2f878ea374b9e00a67d561e027 |
| hovercard-subject-tag | pull_request:3421023260 |
| 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 | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/146179/files |
| twitter:image | https://avatars.githubusercontent.com/u/51956662?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/51956662?s=400&v=4 |
| og:image:alt | Fixes #146169
Add a check in Parse() to prevent calls when in_callback is true,
as this violates expat's requirements and can cause crashes. Now raises
RuntimeError with a clear message.
Added ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/146179/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F146179%2Ffiles |
| 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%2F146179%2Ffiles |
|
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%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/146179/files |
| Reload | https://github.com/python/cpython/pull/146179/files |
| Reload | https://github.com/python/cpython/pull/146179/files |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.7k
| 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 |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| okiemute04 | https://github.com/okiemute04 |
| python:main | https://github.com/python/cpython/tree/main |
| okiemute04:fix-pyexpat-reentrant-crash-final | https://github.com/okiemute04/cpython/tree/fix-pyexpat-reentrant-crash-final |
|
Conversation
18
| https://github.com/python/cpython/pull/146179 |
|
Commits
4
| https://github.com/python/cpython/pull/146179/commits |
|
Checks
51
| https://github.com/python/cpython/pull/146179/checks |
|
Files changed
| https://github.com/python/cpython/pull/146179/files |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
|
gh-146169: Prevent re-entrant Parse() calls in pyexpat
| https://github.com/python/cpython/pull/146179/files#top |
|
Show all changes
4 commits
| https://github.com/python/cpython/pull/146179/files |
|
c924f57
gh-146174: Prevent re-entrant Parse() calls in pyexpat
okiemute04 Mar 19, 2026
| https://github.com/python/cpython/pull/146179/commits/c924f5760b7325fd3180b86608911e51e864a612 |
|
0e67052
Add NEWS entry for pyexpat re-entrant fix
okiemute04 Mar 19, 2026
| https://github.com/python/cpython/pull/146179/commits/0e6705285e6b7538a15b8bc0116a27216496293d |
|
029e408
Add NEWS entry for pyexpat re-entrant fix
okiemute04 Mar 19, 2026
| https://github.com/python/cpython/pull/146179/commits/029e408ece9727fcd29a18983fc6409ed86419b8 |
|
57faef4
Merge remote branch to resolve history divergence
okiemute04 Mar 19, 2026
| https://github.com/python/cpython/pull/146179/commits/57faef447a82c2b09f4d0ee6dae49406aa6c2ea8 |
|
Clear filters
| https://github.com/python/cpython/pull/146179/files |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
|
test_pyexpat.py
| https://github.com/python/cpython/pull/146179/files#diff-bdb65b60742876d0828ee1d7f2c168d36fa02cc202ace32d27c46a7b4a17605d |
|
2026-03-19-11-15-00.gh-issue-146169.manual.rst
| https://github.com/python/cpython/pull/146179/files#diff-afe13f59bf6857c7e9789a6bfee1d5e5921cd47eb84203cb2f72aadd8b605801 |
|
pyexpat.c
| https://github.com/python/cpython/pull/146179/files#diff-0534aca0d881f2dd1100e875602f98da60bf20ce127564896dc1e8a92a6fad2c |
| Lib/test/test_pyexpat.py | https://github.com/python/cpython/pull/146179/files#diff-bdb65b60742876d0828ee1d7f2c168d36fa02cc202ace32d27c46a7b4a17605d |
|
View file
| https://github.com/okiemute04/cpython/blob/57faef447a82c2b09f4d0ee6dae49406aa6c2ea8/Lib/test/test_pyexpat.py |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/146179/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/146179/files#diff-bdb65b60742876d0828ee1d7f2c168d36fa02cc202ace32d27c46a7b4a17605d |
| picnixz | https://github.com/picnixz |
| Mar 20, 2026 | https://github.com/python/cpython/pull/146179/files#r2968321162 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
| picnixz | https://github.com/picnixz |
| Mar 20, 2026 | https://github.com/python/cpython/pull/146179/files#r2968370178 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
| picnixz | https://github.com/picnixz |
| Mar 20, 2026 | https://github.com/python/cpython/pull/146179/files#r2968320534 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
| picnixz | https://github.com/picnixz |
| Mar 20, 2026 | https://github.com/python/cpython/pull/146179/files#r2968366788 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
| picnixz | https://github.com/picnixz |
| Mar 20, 2026 | https://github.com/python/cpython/pull/146179/files#r2968319844 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
| picnixz | https://github.com/picnixz |
| Mar 20, 2026 | https://github.com/python/cpython/pull/146179/files#r2968315548 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
| picnixz | https://github.com/picnixz |
| Mar 20, 2026 | https://github.com/python/cpython/pull/146179/files#r2968379221 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
| picnixz | https://github.com/picnixz |
| Mar 20, 2026 | https://github.com/python/cpython/pull/146179/files#r2968311548 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
| picnixz | https://github.com/picnixz |
| Mar 20, 2026 | https://github.com/python/cpython/pull/146179/files#r2968314193 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
|
| https://github.com/python/cpython/pull/146179/files#diff-bdb65b60742876d0828ee1d7f2c168d36fa02cc202ace32d27c46a7b4a17605d |
| Misc/NEWS.d/next/Library/2026-03-19-11-15-00.gh-issue-146169.manual.rst | https://github.com/python/cpython/pull/146179/files#diff-afe13f59bf6857c7e9789a6bfee1d5e5921cd47eb84203cb2f72aadd8b605801 |
|
View file
| https://github.com/okiemute04/cpython/blob/57faef447a82c2b09f4d0ee6dae49406aa6c2ea8/Misc/NEWS.d/next/Library/2026-03-19-11-15-00.gh-issue-146169.manual.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/146179/{{ revealButtonHref }} |
| Modules/pyexpat.c | https://github.com/python/cpython/pull/146179/files#diff-0534aca0d881f2dd1100e875602f98da60bf20ce127564896dc1e8a92a6fad2c |
|
View file
| https://github.com/okiemute04/cpython/blob/57faef447a82c2b09f4d0ee6dae49406aa6c2ea8/Modules/pyexpat.c |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/146179/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/146179/files#diff-0534aca0d881f2dd1100e875602f98da60bf20ce127564896dc1e8a92a6fad2c |
| picnixz | https://github.com/picnixz |
| Mar 20, 2026 | https://github.com/python/cpython/pull/146179/files#r2968326374 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
| picnixz | https://github.com/picnixz |
| Mar 20, 2026 | https://github.com/python/cpython/pull/146179/files#r2968396207 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
|
| https://github.com/python/cpython/pull/146179/files#diff-0534aca0d881f2dd1100e875602f98da60bf20ce127564896dc1e8a92a6fad2c |
| Please reload this page | https://github.com/python/cpython/pull/146179/files |
|
| 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 |