| 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:9ffa00fa-c865-9941-739d-6cb44026c66a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | EA10:F74F6:CC814:117CB1:696A9EF7 |
| html-safe-nonce | e5ec71f994b1a9d6f3f9c1b838030db2e7a799c4ac595ac179ebdc033ba1b37c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTEwOkY3NEY2OkNDODE0OjExN0NCMTo2OTZBOUVGNyIsInZpc2l0b3JfaWQiOiI1Mzk1OTIzOTUwMTExNDY1MjA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b96da85bb089cfa43df5535c2d193042a7d08c6e507d6467fece347b50faeb81 |
| hovercard-subject-tag | pull_request:2947689996 |
| 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/140603/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/5ff5d9a1eea578df2647cdd1c04774e6bdd4b40e4c4e747ec37959f22054b516/python/cpython/pull/140603 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5ff5d9a1eea578df2647cdd1c04774e6bdd4b40e4c4e747ec37959f22054b516/python/cpython/pull/140603 |
| og:image:alt | When iterparse() opens a file by filename and is not explicitly closed, emit a ResourceWarning to alert developers of the resource leak.
This implements the TODO comment at line 1270 of ElementTree... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | osamakader |
| hostname | github.com |
| expected-hostname | github.com |
| None | a51f97dbb9326f71c08ecb61577457d543c602124d1a2672871258ef37ac5261 |
| turbo-cache-control | no-preview |
| 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 | 4bd0eac606c70914085176ef312ebdcd97a8cdf1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python/cpython/pull/140603#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F140603 |
| 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%2F140603 |
|
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/140603 |
| Reload | https://github.com/python/cpython/pull/140603 |
| Reload | https://github.com/python/cpython/pull/140603 |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
|
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/140603 |
|
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 |
| Jump to bottom | https://github.com/python/cpython/pull/140603#issue-comment-box |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:main | https://github.com/python/cpython/tree/main |
| osamakader:issue-140601-iterparse-warning | https://github.com/osamakader/cpython/tree/issue-140601-iterparse-warning |
|
gh-140601: Add ResourceWarning to iterparse when not closed
| https://github.com/python/cpython/pull/140603#top |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| python:main | https://github.com/python/cpython/tree/main |
| osamakader:issue-140601-iterparse-warning | https://github.com/osamakader/cpython/tree/issue-140601-iterparse-warning |
|
Conversation
33
| https://github.com/python/cpython/pull/140603 |
|
Commits
17
| https://github.com/python/cpython/pull/140603/commits |
|
Checks
44
| https://github.com/python/cpython/pull/140603/checks |
|
Files changed
5
| https://github.com/python/cpython/pull/140603/files |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/{{ revealButtonHref }} |
|
| https://github.com/osamakader |
| osamakader | https://github.com/osamakader |
| Oct 25, 2025 | https://github.com/python/cpython/pull/140603#issue-3552918132 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| xml.etree.ElementTree.iterparse() should emit ResourceWarning when not explicitly closed #140601 | https://github.com/python/cpython/issues/140601 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| https://github.com/apps/python-cla-bot |
| python-cla-bot | https://github.com/apps/python-cla-bot |
| Oct 25, 2025 | https://github.com/python/cpython/pull/140603#issuecomment-3447725374 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| https://cla.python.org/ |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
| Oct 25, 2025 | https://github.com/python/cpython/pull/140603#issuecomment-3447725375 |
| require a NEWS entry | https://devguide.python.org/core-developers/committing/#updating-news-and-what-s-new-in-python |
| blurb_it | https://blurb-it.herokuapp.com |
| blurb | https://pypi.org/project/blurb/ |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Oct 25, 2025 | https://github.com/python/cpython/pull/140603#event-20504356208 |
| https://github.com/apps/bedevere-app |
| bedevere-app | https://github.com/apps/bedevere-app |
|
Oct 25, 2025
| https://github.com/python/cpython/pull/140603#ref-issue-3552861781 |
|
xml.etree.ElementTree.iterparse() should emit ResourceWarning when not explicitly closed
#140601
| https://github.com/python/cpython/issues/140601 |
| https://github.com/osamakader |
| osamakader | https://github.com/osamakader |
| force-pushed | https://github.com/python/cpython/compare/7d1d79aa54335224a6c0269673b41dc82f0a5fd1..54742a1159c883674c9631b9b9e23e672cebed2a |
| 7d1d79a | https://github.com/python/cpython/commit/7d1d79aa54335224a6c0269673b41dc82f0a5fd1 |
| 54742a1 | https://github.com/python/cpython/commit/54742a1159c883674c9631b9b9e23e672cebed2a |
|
Compare
| https://github.com/python/cpython/compare/7d1d79aa54335224a6c0269673b41dc82f0a5fd1..54742a1159c883674c9631b9b9e23e672cebed2a |
| October 25, 2025 20:34 | https://github.com/python/cpython/pull/140603#event-20504520338 |
|
| https://github.com/osamakader |
| pythongh-140601 | https://github.com/python/cpython/issues/140601 |
| : Add ResourceWarning to iterparse when not closed | https://github.com/python/cpython/pull/140603/commits/bf3f8888b277817bb674b899c564cef27cfd0a12 |
| bf3f888 | https://github.com/python/cpython/pull/140603/commits/bf3f8888b277817bb674b899c564cef27cfd0a12 |
| https://github.com/osamakader |
| osamakader | https://github.com/osamakader |
| force-pushed | https://github.com/python/cpython/compare/54742a1159c883674c9631b9b9e23e672cebed2a..bf3f8888b277817bb674b899c564cef27cfd0a12 |
| 54742a1 | https://github.com/python/cpython/commit/54742a1159c883674c9631b9b9e23e672cebed2a |
| bf3f888 | https://github.com/python/cpython/commit/bf3f8888b277817bb674b899c564cef27cfd0a12 |
|
Compare
| https://github.com/python/cpython/compare/54742a1159c883674c9631b9b9e23e672cebed2a..bf3f8888b277817bb674b899c564cef27cfd0a12 |
| October 25, 2025 20:50 | https://github.com/python/cpython/pull/140603#event-20504569473 |
| https://github.com/cmaloney |
| cmaloney | https://github.com/cmaloney |
| Oct 26, 2025 | https://github.com/python/cpython/pull/140603#issuecomment-3447929383 |
| https://devguide.python.org/getting-started/pull-request-lifecycle/#quick-guide | https://devguide.python.org/getting-started/pull-request-lifecycle/#quick-guide |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| https://github.com/cmaloney |
| cmaloney | https://github.com/cmaloney |
| Oct 26, 2025 | https://github.com/python/cpython/pull/140603#issuecomment-3448258113 |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| https://github.com/ashm-dev |
| Sign in to view | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F140603 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| https://github.com/ashm-dev |
| ashm-dev | https://github.com/ashm-dev |
|
Oct 26, 2025
| https://github.com/python/cpython/pull/140603#pullrequestreview-3381032837 |
|
View reviewed changes
| https://github.com/python/cpython/pull/140603/files/bf3f8888b277817bb674b899c564cef27cfd0a12 |
| Lib/test/test_xml_etree.py | https://github.com/python/cpython/pull/140603/files/bf3f8888b277817bb674b899c564cef27cfd0a12#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454 |
| ashm-dev | https://github.com/ashm-dev |
| Oct 26, 2025 | https://github.com/python/cpython/pull/140603#discussion_r2463760508 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Oct 26, 2025
| https://github.com/python/cpython/pull/140603#pullrequestreview-3381040630 |
|
View reviewed changes
| https://github.com/python/cpython/pull/140603/files/bf3f8888b277817bb674b899c564cef27cfd0a12 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| https://github.com/python/cpython/pull/140603#pullrequestreview-3381040630 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| Lib/xml/etree/ElementTree.py | https://github.com/python/cpython/pull/140603/files/bf3f8888b277817bb674b899c564cef27cfd0a12#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| Lib/xml/etree/ElementTree.py | https://github.com/python/cpython/pull/140603/files/bf3f8888b277817bb674b899c564cef27cfd0a12#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| Lib/xml/etree/ElementTree.py | https://github.com/python/cpython/pull/140603/files/bf3f8888b277817bb674b899c564cef27cfd0a12#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| Lib/xml/etree/ElementTree.py | https://github.com/python/cpython/pull/140603/files/bf3f8888b277817bb674b899c564cef27cfd0a12#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| osamakader | https://github.com/osamakader |
| October 26, 2025 22:55 | https://github.com/python/cpython/pull/140603#commits-pushed-e6c11de |
|
| https://github.com/osamakader |
| Address review feedback from serhiy-storchaka | https://github.com/python/cpython/pull/140603/commits/e6c11de1ba59c128c2711374cd53f8eba3891c12 |
| e6c11de | https://github.com/python/cpython/pull/140603/commits/e6c11de1ba59c128c2711374cd53f8eba3891c12 |
|
| https://github.com/osamakader |
| remove extra whitespace | https://github.com/python/cpython/pull/140603/commits/53f63b9971332ce075bfd7037d0fe51dd54eb8c3 |
| 53f63b9 | https://github.com/python/cpython/pull/140603/commits/53f63b9971332ce075bfd7037d0fe51dd54eb8c3 |
|
| https://github.com/osamakader |
| remove unused import | https://github.com/python/cpython/pull/140603/commits/c8ea7768a3e062132e8bd497559940ab27652c70 |
| c8ea776 | https://github.com/python/cpython/pull/140603/commits/c8ea7768a3e062132e8bd497559940ab27652c70 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
|
Oct 26, 2025
| https://github.com/python/cpython/pull/140603#pullrequestreview-3381425006 |
|
View reviewed changes
| https://github.com/python/cpython/pull/140603/files/c8ea7768a3e062132e8bd497559940ab27652c70 |
| Lib/test/test_xml_etree.py | https://github.com/python/cpython/pull/140603/files/c8ea7768a3e062132e8bd497559940ab27652c70#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| Lib/test/test_xml_etree.py | https://github.com/python/cpython/pull/140603/files/c8ea7768a3e062132e8bd497559940ab27652c70#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| Lib/test/test_xml_etree.py | https://github.com/python/cpython/pull/140603/files/c8ea7768a3e062132e8bd497559940ab27652c70#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| osamakader | https://github.com/osamakader |
| October 26, 2025 23:24 | https://github.com/python/cpython/pull/140603#commits-pushed-fcd7ca0 |
|
| https://github.com/osamakader |
| Use % formatting instead of f-strings in __del__ | https://github.com/python/cpython/pull/140603/commits/fcd7ca09a77f22aa6362bce805746c4254d0a5ec |
| fcd7ca0 | https://github.com/python/cpython/pull/140603/commits/fcd7ca09a77f22aa6362bce805746c4254d0a5ec |
|
| https://github.com/osamakader |
| Add assertions to verify ResourceWarning content | https://github.com/python/cpython/pull/140603/commits/0f9b5094c712f8ca8093017140f1af78a191b965 |
| 0f9b509 | https://github.com/python/cpython/pull/140603/commits/0f9b5094c712f8ca8093017140f1af78a191b965 |
|
| https://github.com/osamakader |
| Remove redundant test_iterparse_resource_warning function | https://github.com/python/cpython/pull/140603/commits/6e3b0711626669da8e458d09f1bd3fe9bef2876b |
| 6e3b071 | https://github.com/python/cpython/pull/140603/commits/6e3b0711626669da8e458d09f1bd3fe9bef2876b |
|
| https://github.com/osamakader |
| Remove source=self from ResourceWarning | https://github.com/python/cpython/pull/140603/commits/86fc36b3d3e9d4d5ea670e2b50a99b55332e889d |
| 86fc36b | https://github.com/python/cpython/pull/140603/commits/86fc36b3d3e9d4d5ea670e2b50a99b55332e889d |
| https://github.com/osamakader |
| osamakader | https://github.com/osamakader |
| Oct 26, 2025 | https://github.com/python/cpython/pull/140603#issuecomment-3448933615 |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| October 27, 2025 11:29 | https://github.com/python/cpython/pull/140603#commits-pushed-329c09c |
|
| https://github.com/serhiy-storchaka |
| Add explicit close(). | https://github.com/python/cpython/pull/140603/commits/329c09c4054e8257b1573b2b4c2484e1f700a3f5 |
| 329c09c | https://github.com/python/cpython/pull/140603/commits/329c09c4054e8257b1573b2b4c2484e1f700a3f5 |
|
| https://github.com/serhiy-storchaka |
| Reorganize tests. | https://github.com/python/cpython/pull/140603/commits/dd204415282d99ec7bbf51528e2c8a3a7e7bd997 |
| dd20441 | https://github.com/python/cpython/pull/140603/commits/dd204415282d99ec7bbf51528e2c8a3a7e7bd997 |
|
| https://github.com/serhiy-storchaka |
| Exhausted or failed iterators are auto-closed. | https://github.com/python/cpython/pull/140603/commits/b1f67a4eb6506dcdc5eab06e00eee07aca61335c |
| b1f67a4 | https://github.com/python/cpython/pull/140603/commits/b1f67a4eb6506dcdc5eab06e00eee07aca61335c |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Oct 27, 2025 | https://github.com/python/cpython/pull/140603#issuecomment-3450561209 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
|
| https://github.com/osamakader |
| Add versionchanged directive for ResourceWarning | https://github.com/python/cpython/pull/140603/commits/15c0c5b99dd5bd0308b7da3cb35b9da8ff9b04f2 |
| 15c0c5b | https://github.com/python/cpython/pull/140603/commits/15c0c5b99dd5bd0308b7da3cb35b9da8ff9b04f2 |
| https://github.com/osamakader |
| osamakader | https://github.com/osamakader |
| Oct 27, 2025 | https://github.com/python/cpython/pull/140603#issuecomment-3450823630 |
| @serhiy-storchaka | https://github.com/serhiy-storchaka |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| https://github.com/osamakader |
| osamakader | https://github.com/osamakader |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| October 29, 2025 14:08 | https://github.com/python/cpython/pull/140603#event-20581001935 |
| https://github.com/osamakader |
| osamakader | https://github.com/osamakader |
| ashm-dev | https://github.com/ashm-dev |
| November 6, 2025 19:38 | https://github.com/python/cpython/pull/140603#event-20769699094 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Nov 12, 2025 | https://github.com/python/cpython/pull/140603#issuecomment-3523750548 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| November 12, 2025 22:20 | https://github.com/python/cpython/pull/140603#commits-pushed-a7ef9f2 |
|
| https://github.com/serhiy-storchaka |
| Merge branch 'main' into issue-140601-iterparse-warning | https://github.com/python/cpython/pull/140603/commits/a7ef9f28693e2be4d0e3f290dbfcb5af0790daf8 |
| a7ef9f2 | https://github.com/python/cpython/pull/140603/commits/a7ef9f28693e2be4d0e3f290dbfcb5af0790daf8 |
|
| https://github.com/serhiy-storchaka |
| Always emit a warning. Add tests for exhausted not closed iterator. | https://github.com/python/cpython/pull/140603/commits/766d5103bae24ef3afdc7945120faa7ef6a131dc |
| 766d510 | https://github.com/python/cpython/pull/140603/commits/766d5103bae24ef3afdc7945120faa7ef6a131dc |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| AA-Turner | https://github.com/AA-Turner |
| code owner | https://github.com/python/cpython/blob/35ed3e4cedc8aef3936da81a6b64e90374532b13/.github/CODEOWNERS#L114 |
| November 12, 2025 21:16 | https://github.com/python/cpython/pull/140603#event-20898907302 |
| https://github.com/cmaloney |
| cmaloney | https://github.com/cmaloney |
| Nov 13, 2025 | https://github.com/python/cpython/pull/140603#issuecomment-3525915843 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| https://github.com/cmaloney |
| cmaloney | https://github.com/cmaloney |
|
Nov 13, 2025
| https://github.com/python/cpython/pull/140603#pullrequestreview-3458079899 |
|
View reviewed changes
| https://github.com/python/cpython/pull/140603/files/766d5103bae24ef3afdc7945120faa7ef6a131dc |
| Doc/library/xml.etree.elementtree.rst | https://github.com/python/cpython/pull/140603/files/766d5103bae24ef3afdc7945120faa7ef6a131dc#diff-9f6d65f8cd6bc51eb67fc1894e1c462159a62f370e2d99dafe4b10ebca41160f |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| Lib/test/test_xml_etree.py | https://github.com/python/cpython/pull/140603/files/766d5103bae24ef3afdc7945120faa7ef6a131dc#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| Lib/xml/etree/ElementTree.py | https://github.com/python/cpython/pull/140603/files/766d5103bae24ef3afdc7945120faa7ef6a131dc#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| https://github.com/ashm-dev |
| ashm-dev | https://github.com/ashm-dev |
|
Nov 13, 2025
| https://github.com/python/cpython/pull/140603#pullrequestreview-3458377888 |
|
View reviewed changes
| https://github.com/python/cpython/pull/140603/files/766d5103bae24ef3afdc7945120faa7ef6a131dc |
| Lib/xml/etree/ElementTree.py | https://github.com/python/cpython/pull/140603/files/766d5103bae24ef3afdc7945120faa7ef6a131dc#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673 |
| ashm-dev | https://github.com/ashm-dev |
| Nov 13, 2025 | https://github.com/python/cpython/pull/140603#discussion_r2522310004 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Nov 13, 2025 | https://github.com/python/cpython/pull/140603#discussion_r2522637996 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| ashm-dev | https://github.com/ashm-dev |
| Nov 13, 2025 | https://github.com/python/cpython/pull/140603#discussion_r2522697054 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| Lib/xml/etree/ElementTree.py | https://github.com/python/cpython/pull/140603/files/766d5103bae24ef3afdc7945120faa7ef6a131dc#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673 |
| ashm-dev | https://github.com/ashm-dev |
| Nov 13, 2025 | https://github.com/python/cpython/pull/140603#discussion_r2522333109 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Nov 13, 2025 | https://github.com/python/cpython/pull/140603#discussion_r2522619624 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| Lib/test/test_xml_etree.py | https://github.com/python/cpython/pull/140603/files/766d5103bae24ef3afdc7945120faa7ef6a131dc#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454 |
| ashm-dev | https://github.com/ashm-dev |
| Nov 13, 2025 | https://github.com/python/cpython/pull/140603#discussion_r2522344362 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Nov 13, 2025 | https://github.com/python/cpython/pull/140603#discussion_r2522645598 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| Nov 13, 2025 | https://github.com/python/cpython/pull/140603#discussion_r2522972847 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| #141499 | https://github.com/python/cpython/pull/141499 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| ashm-dev | https://github.com/ashm-dev |
| Nov 13, 2025 | https://github.com/python/cpython/pull/140603#discussion_r2523013403 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| 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 |
|
awaiting review
| https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22 |
| Nov 13, 2025 | https://github.com/python/cpython/pull/140603#event-20910850345 |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| November 13, 2025 11:50 | https://github.com/python/cpython/pull/140603#commits-pushed-53880a6 |
|
| https://github.com/serhiy-storchaka |
|
| https://github.com/cmaloney |
| Apply suggestions from code review | https://github.com/python/cpython/pull/140603/commits/53880a65a4963bffd9ce3a1d6a45dfd74f45091c |
| 53880a6 | https://github.com/python/cpython/pull/140603/commits/53880a65a4963bffd9ce3a1d6a45dfd74f45091c |
|
| https://github.com/serhiy-storchaka |
| Refactor tests. | https://github.com/python/cpython/pull/140603/commits/8a37683925f56a0ad890076325427bc323832d7b |
| 8a37683 | https://github.com/python/cpython/pull/140603/commits/8a37683925f56a0ad890076325427bc323832d7b |
|
| https://github.com/serhiy-storchaka |
| Merge branch 'main' into issue-140601-iterparse-warning | https://github.com/python/cpython/pull/140603/commits/6c5c5e82c484b4bcac7bde34cc9b812ab0fa70b4 |
| 6c5c5e8 | https://github.com/python/cpython/pull/140603/commits/6c5c5e82c484b4bcac7bde34cc9b812ab0fa70b4 |
| https://github.com/serhiy-storchaka |
| serhiy-storchaka | https://github.com/serhiy-storchaka |
| a486d45 | https://github.com/python/cpython/commit/a486d452c78a7dfcd42561f6c151bf1fef0a756e |
| Nov 13, 2025 | https://github.com/python/cpython/pull/140603#event-20925006617 |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
| 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 |
| Nov 13, 2025 | https://github.com/python/cpython/pull/140603#event-20925008061 |
| CuriousLearner | https://github.com/CuriousLearner |
|
Nov 13, 2025
| https://github.com/python/cpython/pull/140603#ref-commit-b9f473c |
|
| https://github.com/CuriousLearner |
| Merge branch 'main' into fix-issue21914 | https://github.com/CuriousLearner/cpython/commit/b9f473caa7ea83f0d77d70c02a12b38fe746c233 |
| b9f473c | https://github.com/CuriousLearner/cpython/commit/b9f473caa7ea83f0d77d70c02a12b38fe746c233 |
| pythongh-140601 | https://github.com/python/cpython/issues/140601 |
| pythonGH-140603 | https://github.com/python/cpython/pull/140603 |
| pythongh-137969 | https://github.com/python/cpython/issues/137969 |
| python#140974 | https://github.com/python/cpython/pull/140974 |
| pythongh-139109 | https://github.com/python/cpython/issues/139109 |
| pythonGH-140310 | https://github.com/python/cpython/pull/140310 |
| pythongh-141004 | https://github.com/python/cpython/issues/141004 |
| python#141521 | https://github.com/python/cpython/pull/141521 |
| pythongh-140873 | https://github.com/python/cpython/issues/140873 |
| pythonGH-140884 | https://github.com/python/cpython/pull/140884 |
| pythongh-139653 | https://github.com/python/cpython/issues/139653 |
| python#139668 | https://github.com/python/cpython/pull/139668 |
| pythongh-141004 | https://github.com/python/cpython/issues/141004 |
| pythonGH-141378 | https://github.com/python/cpython/pull/141378 |
| pythongh-141004 | https://github.com/python/cpython/issues/141004 |
| pythonGH-141009 | https://github.com/python/cpython/pull/141009 |
| pythongh-137959 | https://github.com/python/cpython/issues/137959 |
| pythonGH-141496 | https://github.com/python/cpython/pull/141496 |
| pythongh-139871 | https://github.com/python/cpython/issues/139871 |
| pythonGH-140128 | https://github.com/python/cpython/pull/140128 |
| pythongh-140601 | https://github.com/python/cpython/issues/140601 |
| pythonGH-141499 | https://github.com/python/cpython/pull/141499 |
| pythongh-135801 | https://github.com/python/cpython/issues/135801 |
| pythonGH-139652 | https://github.com/python/cpython/pull/139652 |
| pythongh-140260 | https://github.com/python/cpython/issues/140260 |
| python#140909 | https://github.com/python/cpython/pull/140909 |
| pythongh-137109 | https://github.com/python/cpython/issues/137109 |
| python#141438 | https://github.com/python/cpython/pull/141438 |
| pythongh-141004 | https://github.com/python/cpython/issues/141004 |
| pythonGH-141405 | https://github.com/python/cpython/pull/141405 |
| pythongh-124111 | https://github.com/python/cpython/issues/124111 |
| pythonGH-128103 | https://github.com/python/cpython/pull/128103 |
| pythongh-141442 | https://github.com/python/cpython/issues/141442 |
| python#141443 | https://github.com/python/cpython/pull/141443 |
| pythongh-140936 | https://github.com/python/cpython/issues/140936 |
| pythonGH-140969 | https://github.com/python/cpython/pull/140969 |
| python#141167 | https://github.com/python/cpython/pull/141167 |
| pythongh-141412 | https://github.com/python/cpython/issues/141412 |
| pythonGH-141428 | https://github.com/python/cpython/pull/141428 |
| CuriousLearner | https://github.com/CuriousLearner |
|
Nov 14, 2025
| https://github.com/python/cpython/pull/140603#ref-commit-c46ecc5 |
|
| https://github.com/CuriousLearner |
| Merge branch 'main' of github.com:python/cpython into fix-Issue18387 | https://github.com/CuriousLearner/cpython/commit/c46ecc50bebdcba2426c2b966bd45e432f4fc2ea |
| c46ecc5 | https://github.com/CuriousLearner/cpython/commit/c46ecc50bebdcba2426c2b966bd45e432f4fc2ea |
| pythongh-140601 | https://github.com/python/cpython/issues/140601 |
| pythonGH-140603 | https://github.com/python/cpython/pull/140603 |
| pythongh-137969 | https://github.com/python/cpython/issues/137969 |
| python#140974 | https://github.com/python/cpython/pull/140974 |
| pythongh-139109 | https://github.com/python/cpython/issues/139109 |
| pythonGH-140310 | https://github.com/python/cpython/pull/140310 |
| pythongh-141004 | https://github.com/python/cpython/issues/141004 |
| python#141521 | https://github.com/python/cpython/pull/141521 |
| pythongh-140873 | https://github.com/python/cpython/issues/140873 |
| pythonGH-140884 | https://github.com/python/cpython/pull/140884 |
| pythongh-139653 | https://github.com/python/cpython/issues/139653 |
| python#139668 | https://github.com/python/cpython/pull/139668 |
| pythongh-141004 | https://github.com/python/cpython/issues/141004 |
| pythonGH-141378 | https://github.com/python/cpython/pull/141378 |
| pythongh-141004 | https://github.com/python/cpython/issues/141004 |
| pythonGH-141009 | https://github.com/python/cpython/pull/141009 |
| pythongh-137959 | https://github.com/python/cpython/issues/137959 |
| pythonGH-141496 | https://github.com/python/cpython/pull/141496 |
| pythongh-139871 | https://github.com/python/cpython/issues/139871 |
| pythonGH-140128 | https://github.com/python/cpython/pull/140128 |
| pythongh-140601 | https://github.com/python/cpython/issues/140601 |
| pythonGH-141499 | https://github.com/python/cpython/pull/141499 |
| pythongh-135801 | https://github.com/python/cpython/issues/135801 |
| pythonGH-139652 | https://github.com/python/cpython/pull/139652 |
| pythongh-140260 | https://github.com/python/cpython/issues/140260 |
| python#140909 | https://github.com/python/cpython/pull/140909 |
| pythongh-137109 | https://github.com/python/cpython/issues/137109 |
| python#141438 | https://github.com/python/cpython/pull/141438 |
| pythongh-141004 | https://github.com/python/cpython/issues/141004 |
| pythonGH-141405 | https://github.com/python/cpython/pull/141405 |
| pythongh-124111 | https://github.com/python/cpython/issues/124111 |
| pythonGH-128103 | https://github.com/python/cpython/pull/128103 |
| pythongh-141442 | https://github.com/python/cpython/issues/141442 |
| python#141443 | https://github.com/python/cpython/pull/141443 |
| pythongh-140936 | https://github.com/python/cpython/issues/140936 |
| pythonGH-140969 | https://github.com/python/cpython/pull/140969 |
| python#141167 | https://github.com/python/cpython/pull/141167 |
| pythongh-141412 | https://github.com/python/cpython/issues/141412 |
| pythonGH-141428 | https://github.com/python/cpython/pull/141428 |
| CuriousLearner | https://github.com/CuriousLearner |
|
Nov 14, 2025
| https://github.com/python/cpython/pull/140603#ref-commit-c240289 |
|
| https://github.com/CuriousLearner |
| Merge branch 'main' of github.com:python/cpython into fix-issue24255 | https://github.com/CuriousLearner/cpython/commit/c240289cd6aa389ed8950d28f9248fadca9d071a |
| c240289 | https://github.com/CuriousLearner/cpython/commit/c240289cd6aa389ed8950d28f9248fadca9d071a |
| pythongh-140601 | https://github.com/python/cpython/issues/140601 |
| pythonGH-140603 | https://github.com/python/cpython/pull/140603 |
| pythongh-137969 | https://github.com/python/cpython/issues/137969 |
| python#140974 | https://github.com/python/cpython/pull/140974 |
| pythongh-139109 | https://github.com/python/cpython/issues/139109 |
| pythonGH-140310 | https://github.com/python/cpython/pull/140310 |
| pythongh-141004 | https://github.com/python/cpython/issues/141004 |
| python#141521 | https://github.com/python/cpython/pull/141521 |
| pythongh-140873 | https://github.com/python/cpython/issues/140873 |
| pythonGH-140884 | https://github.com/python/cpython/pull/140884 |
| pythongh-139653 | https://github.com/python/cpython/issues/139653 |
| python#139668 | https://github.com/python/cpython/pull/139668 |
| pythongh-141004 | https://github.com/python/cpython/issues/141004 |
| pythonGH-141378 | https://github.com/python/cpython/pull/141378 |
| pythongh-141004 | https://github.com/python/cpython/issues/141004 |
| pythonGH-141009 | https://github.com/python/cpython/pull/141009 |
| pythongh-137959 | https://github.com/python/cpython/issues/137959 |
| pythonGH-141496 | https://github.com/python/cpython/pull/141496 |
| pythongh-139871 | https://github.com/python/cpython/issues/139871 |
| pythonGH-140128 | https://github.com/python/cpython/pull/140128 |
| pythongh-140601 | https://github.com/python/cpython/issues/140601 |
| pythonGH-141499 | https://github.com/python/cpython/pull/141499 |
| pythongh-135801 | https://github.com/python/cpython/issues/135801 |
| pythonGH-139652 | https://github.com/python/cpython/pull/139652 |
| pythongh-140260 | https://github.com/python/cpython/issues/140260 |
| python#140909 | https://github.com/python/cpython/pull/140909 |
| pythongh-137109 | https://github.com/python/cpython/issues/137109 |
| python#141438 | https://github.com/python/cpython/pull/141438 |
| pythongh-141004 | https://github.com/python/cpython/issues/141004 |
| pythonGH-141405 | https://github.com/python/cpython/pull/141405 |
| pythongh-124111 | https://github.com/python/cpython/issues/124111 |
| pythonGH-128103 | https://github.com/python/cpython/pull/128103 |
| pythongh-141442 | https://github.com/python/cpython/issues/141442 |
| python#141443 | https://github.com/python/cpython/pull/141443 |
| pythongh-140936 | https://github.com/python/cpython/issues/140936 |
| pythonGH-140969 | https://github.com/python/cpython/pull/140969 |
| python#141167 | https://github.com/python/cpython/pull/141167 |
| pythongh-141412 | https://github.com/python/cpython/issues/141412 |
| pythonGH-141428 | https://github.com/python/cpython/pull/141428 |
| StanFromIreland | https://github.com/StanFromIreland |
|
Dec 6, 2025
| https://github.com/python/cpython/pull/140603#ref-commit-50f2e4e |
|
| https://github.com/osamakader |
|
| https://github.com/serhiy-storchaka |
|
| https://github.com/StanFromIreland |
| pythongh-140601 | https://github.com/python/cpython/issues/140601 |
| : Add ResourceWarning to iterparse when not closed ( | https://github.com/StanFromIreland/cpython/commit/50f2e4e21284e9e383562c8d47ef955bd2cf1185 |
| py… | https://github.com/python/cpython/pull/140603 |
| 50f2e4e | https://github.com/StanFromIreland/cpython/commit/50f2e4e21284e9e383562c8d47ef955bd2cf1185 |
| …thonGH-140603 | https://github.com/python/cpython/pull/140603 |
| 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%2F140603 |
|
| https://github.com/cmaloney |
|
cmaloney
| https://github.com/cmaloney |
|
| https://github.com/python/cpython/pull/140603/files/766d5103bae24ef3afdc7945120faa7ef6a131dc |
|
| https://github.com/serhiy-storchaka |
|
serhiy-storchaka
| https://github.com/serhiy-storchaka |
|
| https://github.com/AA-Turner |
|
AA-Turner
| https://github.com/AA-Turner |
|
| https://github.com/ashm-dev |
|
ashm-dev
| https://github.com/ashm-dev |
|
| https://github.com/python/cpython/pull/140603/files/766d5103bae24ef3afdc7945120faa7ef6a131dc |
| Please reload this page | https://github.com/python/cpython/pull/140603 |
|
| https://github.com/osamakader |
|
| https://github.com/cmaloney |
|
| https://github.com/serhiy-storchaka |
|
| https://github.com/ashm-dev |
|
| 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 |