| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:de8b17d2-8a4e-b962-36f5-980adcf9aabb |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BFBC:345FF8:1032B:153DF:696B56F9 |
| html-safe-nonce | dcb7600bd8933ec688d08ef1f0422ffbf11b5321f300e06293aa491d0622c733 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRkJDOjM0NUZGODoxMDMyQjoxNTNERjo2OTZCNTZGOSIsInZpc2l0b3JfaWQiOiIxNDYxNzA5NDM4NTQ2ODI3MDAyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | ddfda413290ecd8d6d5f28f06e22b36a2e9cdb20b1f3d119f0f58a40dbab91a3 |
| hovercard-subject-tag | pull_request:1214980156 |
| 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/101285/files |
| twitter:image | https://avatars.githubusercontent.com/u/13780613?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/13780613?s=400&v=4 |
| og:image:alt | Issue: gh-92123 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| 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 | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/101285/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F101285%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub SparkBuild and deploy intelligent apps | https://github.com/features/spark |
| GitHub ModelsManage and compare prompts | https://github.com/features/models |
| 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 |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| 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/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%2F101285%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/101285/files |
| Reload | https://github.com/python/cpython/pull/101285/files |
| Reload | https://github.com/python/cpython/pull/101285/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/101285/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
33.9k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
71.1k
| 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.1k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
31
| https://github.com/python/cpython/projects |
|
Security
Uh oh!
There was an error while loading. Please reload this page.
| https://github.com/python/cpython/security |
| Please reload this page | https://github.com/python/cpython/pull/101285/files |
|
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
| 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 |
| erlend-aasland | https://github.com/erlend-aasland |
| python:main | https://github.com/python/cpython/tree/main |
| erlend-aasland:etree/multi-phase-init | https://github.com/erlend-aasland/cpython/tree/etree/multi-phase-init |
|
Conversation
4
| https://github.com/python/cpython/pull/101285 |
|
Commits
28
| https://github.com/python/cpython/pull/101285/commits |
|
Checks
0
| https://github.com/python/cpython/pull/101285/checks |
|
Files changed
| https://github.com/python/cpython/pull/101285/files |
| Please reload this page | https://github.com/python/cpython/pull/101285/files |
|
gh-92123: Adapt _elementtree to multi-phase init (PEP 489)
| https://github.com/python/cpython/pull/101285/files#top |
|
Show all changes
28 commits
| https://github.com/python/cpython/pull/101285/files |
|
4d0b34e
Refactor: replace query with parameter
erlend-aasland Jan 20, 2023
| https://github.com/python/cpython/pull/101285/commits/4d0b34e536fbda0352955bbd6135f38eef521b81 |
|
3489b1b
Refactor: replace query with parameter
erlend-aasland Jan 20, 2023
| https://github.com/python/cpython/pull/101285/commits/3489b1b905061a2362a490ae1eea35cba88d0d8e |
|
c2089ff
Refactor: replace query with parameter
erlend-aasland Jan 20, 2023
| https://github.com/python/cpython/pull/101285/commits/c2089ff857569e0f3f908c3ada2b6792ced87576 |
|
acafd9c
Fix cherry-picks
erlend-aasland Jan 20, 2023
| https://github.com/python/cpython/pull/101285/commits/acafd9c18aeeaa2f5efa167a2163890b2d5431d5 |
|
18109aa
gh-92123: use PyModule_GetState in _elementtree
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/18109aa0c8111da897eb6f4e0a24ec5556baff15 |
|
af83b00
Add get_elementtree_state_by_cls() helper
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/af83b009836b54a1473c1cf13f1cbfa36b372feb |
|
96e6239
_elementtree.Element.append
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/96e62397327f45cb7de1c84d4c0a325a50b39faf |
|
27c7dd8
_elementtree.Element.__copy__
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/27c7dd8bb4972b218241a5196e90c64839d34aad |
|
74eb390
_elementtree.Element.__setstate__
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/74eb390832ee369d344e7b77c91b510b26abe532 |
|
7f639a7
_elementtree.Element.extend
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/7f639a7539af1907da056676d3371141386215c2 |
|
0b2a670
_elementtree.Element.find
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/0b2a67041ea770c06feadfe51ce74700006eec8d |
|
5502d85
_elementtree.Element.findtext
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/5502d8572ff62d9535916fd318a4f19e50159edb |
|
0546b43
_elementtree.Element.findall
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/0546b43ca26b28569cadda30db018564dc49e74e |
|
863db65
_elementtree.Element.iterfind
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/863db65d91700b0fe630ad3135e488b901040f7d |
|
9861b4e
_elementtree.Element.iter
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/9861b4e51f2d786ee9f0eb82e71e0cda85a88576 |
|
c012ed0
_elementtree.Element.itertext
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/c012ed0c394f3c1e92a28e79f9f1f1cbbe096c5a |
|
2aff87d
_elementtree.Element.makeelement
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/2aff87d7aa7ab2cb4a5e6e868b3d91758bb797d7 |
|
e41f38f
Add get_elementtree_state_by_type() helper
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/e41f38f8bdd8a6c0ddf439bcfb1f50746f16bbe2 |
|
c904083
_elementtree_Element___deepcopy___impl
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/c904083d602755d4f46409db629886603112ab34 |
|
26656f1
element_setitem
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/26656f193ea84c20f30bc2a905be83aa349ea156 |
|
381c8d8
element_ass_subscr
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/381c8d8397d36c4d3f4b5e102b6b8e9c0dc744ab |
|
af6a4e9
elementiter_next
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/af6a4e9eda3368eb493e1b2162f77e202f193200 |
|
ae51faf
treebuilder_new
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/ae51faf1172d39d7eba70d3987d5c3a09b6cddc1 |
|
85b6b96
xmlparser_new
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/85b6b96e2feea43bea9236a4a1d42affbdcaf268 |
|
5290718
clinic-state
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/52907189d541ad20852e2849636db4ae671fe69a |
|
2224356
Remove ET_STATE_GLOBAL macro
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/222435627c335283930a21b0942781985e9e6e0a |
|
6ca25df
Multi-phase init
erlend-aasland Jan 22, 2023
| https://github.com/python/cpython/pull/101285/commits/6ca25df5b7ff84f5b4bc6286f7da4db18924fed3 |
|
de8ec94
Add NEWS
erlend-aasland Jan 24, 2023
| https://github.com/python/cpython/pull/101285/commits/de8ec94ff7bb66de3b1165a8efb47bf9b5c664b2 |
|
Clear filters
| https://github.com/python/cpython/pull/101285/files |
| Please reload this page | https://github.com/python/cpython/pull/101285/files |
| Please reload this page | https://github.com/python/cpython/pull/101285/files |
|
2023-01-24-12-53-59.gh-issue-92123.jf6TO5.rst
| https://github.com/python/cpython/pull/101285/files#diff-1714d725e3436f3307b87d6fde6c1e62d45faac07291219321f167e0a59f8a4e |
|
_elementtree.c
| https://github.com/python/cpython/pull/101285/files#diff-72f80c6ac0294ae74c7b014c12bcf229e9df089ab19018ea35fd61c58fdb69ac |
|
_elementtree.c.h
| https://github.com/python/cpython/pull/101285/files#diff-b00a7ed4c83c83f39611c31f7312a4f4fe205bc349fbe37728d35a5b6e09fdb3 |
| Misc/NEWS.d/next/Library/2023-01-24-12-53-59.gh-issue-92123.jf6TO5.rst | https://github.com/python/cpython/pull/101285/files#diff-1714d725e3436f3307b87d6fde6c1e62d45faac07291219321f167e0a59f8a4e |
|
View file
| https://github.com/erlend-aasland/cpython/blob/de8ec94ff7bb66de3b1165a8efb47bf9b5c664b2/Misc/NEWS.d/next/Library/2023-01-24-12-53-59.gh-issue-92123.jf6TO5.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/101285/{{ revealButtonHref }} |
| Please reload this page | https://github.com/python/cpython/pull/101285/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 |