René's URL Explorer Experiment


Title: gh-140601: Add ResourceWarning to iterparse when not closed by osamakader · Pull Request #140603 · python/cpython · GitHub

Open Graph Title: gh-140601: Add ResourceWarning to iterparse when not closed by osamakader · Pull Request #140603 · python/cpython

X Title: gh-140601: Add ResourceWarning to iterparse when not closed by osamakader · Pull Request #140603 · python/cpython

Description: 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...

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/python/cpython/pull/140603

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:9ffa00fa-c865-9941-739d-6cb44026c66a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEA10:F74F6:CC814:117CB1:696A9EF7
html-safe-noncee5ec71f994b1a9d6f3f9c1b838030db2e7a799c4ac595ac179ebdc033ba1b37c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQTEwOkY3NEY2OkNDODE0OjExN0NCMTo2OTZBOUVGNyIsInZpc2l0b3JfaWQiOiI1Mzk1OTIzOTUwMTExNDY1MjA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacb96da85bb089cfa43df5535c2d193042a7d08c6e507d6467fece347b50faeb81
hovercard-subject-tagpull_request:2947689996
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/140603/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/5ff5d9a1eea578df2647cdd1c04774e6bdd4b40e4c4e747ec37959f22054b516/python/cpython/pull/140603
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5ff5d9a1eea578df2647cdd1c04774e6bdd4b40e4c4e747ec37959f22054b516/python/cpython/pull/140603
og:image:altWhen 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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameosamakader
hostnamegithub.com
expected-hostnamegithub.com
Nonea51f97dbb9326f71c08ecb61577457d543c602124d1a2672871258ef37ac5261
turbo-cache-controlno-preview
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4bd0eac606c70914085176ef312ebdcd97a8cdf1
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/python/cpython/pull/140603
Reloadhttps://github.com/python/cpython/pull/140603
Reloadhttps://github.com/python/cpython/pull/140603
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://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 pagehttps://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 servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/python/cpython/pull/140603#issue-comment-box
serhiy-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
osamakader:issue-140601-iterparse-warninghttps://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-storchakahttps://github.com/serhiy-storchaka
python:mainhttps://github.com/python/cpython/tree/main
osamakader:issue-140601-iterparse-warninghttps://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
osamakaderhttps://github.com/osamakader
Oct 25, 2025https://github.com/python/cpython/pull/140603#issue-3552918132
Please reload this pagehttps://github.com/python/cpython/pull/140603
xml.etree.ElementTree.iterparse() should emit ResourceWarning when not explicitly closed #140601https://github.com/python/cpython/issues/140601
Please reload this pagehttps://github.com/python/cpython/pull/140603
https://github.com/apps/python-cla-bot
python-cla-bothttps://github.com/apps/python-cla-bot
Oct 25, 2025https://github.com/python/cpython/pull/140603#issuecomment-3447725374
Please reload this pagehttps://github.com/python/cpython/pull/140603
https://cla.python.org/
Please reload this pagehttps://github.com/python/cpython/pull/140603
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 25, 2025https://github.com/python/cpython/pull/140603#issuecomment-3447725375
require a NEWS entryhttps://devguide.python.org/core-developers/committing/#updating-news-and-what-s-new-in-python
blurb_ithttps://blurb-it.herokuapp.com
blurbhttps://pypi.org/project/blurb/
Please reload this pagehttps://github.com/python/cpython/pull/140603
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Oct 25, 2025https://github.com/python/cpython/pull/140603#event-20504356208
https://github.com/apps/bedevere-app
bedevere-apphttps://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
osamakaderhttps://github.com/osamakader
force-pushedhttps://github.com/python/cpython/compare/7d1d79aa54335224a6c0269673b41dc82f0a5fd1..54742a1159c883674c9631b9b9e23e672cebed2a
7d1d79ahttps://github.com/python/cpython/commit/7d1d79aa54335224a6c0269673b41dc82f0a5fd1
54742a1https://github.com/python/cpython/commit/54742a1159c883674c9631b9b9e23e672cebed2a
Compare https://github.com/python/cpython/compare/7d1d79aa54335224a6c0269673b41dc82f0a5fd1..54742a1159c883674c9631b9b9e23e672cebed2a
October 25, 2025 20:34https://github.com/python/cpython/pull/140603#event-20504520338
https://github.com/osamakader
pythongh-140601https://github.com/python/cpython/issues/140601
: Add ResourceWarning to iterparse when not closedhttps://github.com/python/cpython/pull/140603/commits/bf3f8888b277817bb674b899c564cef27cfd0a12
bf3f888https://github.com/python/cpython/pull/140603/commits/bf3f8888b277817bb674b899c564cef27cfd0a12
https://github.com/osamakader
osamakaderhttps://github.com/osamakader
force-pushedhttps://github.com/python/cpython/compare/54742a1159c883674c9631b9b9e23e672cebed2a..bf3f8888b277817bb674b899c564cef27cfd0a12
54742a1https://github.com/python/cpython/commit/54742a1159c883674c9631b9b9e23e672cebed2a
bf3f888https://github.com/python/cpython/commit/bf3f8888b277817bb674b899c564cef27cfd0a12
Compare https://github.com/python/cpython/compare/54742a1159c883674c9631b9b9e23e672cebed2a..bf3f8888b277817bb674b899c564cef27cfd0a12
October 25, 2025 20:50https://github.com/python/cpython/pull/140603#event-20504569473
https://github.com/cmaloney
cmaloneyhttps://github.com/cmaloney
Oct 26, 2025https://github.com/python/cpython/pull/140603#issuecomment-3447929383
https://devguide.python.org/getting-started/pull-request-lifecycle/#quick-guidehttps://devguide.python.org/getting-started/pull-request-lifecycle/#quick-guide
Please reload this pagehttps://github.com/python/cpython/pull/140603
https://github.com/cmaloney
cmaloneyhttps://github.com/cmaloney
Oct 26, 2025https://github.com/python/cpython/pull/140603#issuecomment-3448258113
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/140603
https://github.com/ashm-dev
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F140603
Please reload this pagehttps://github.com/python/cpython/pull/140603
https://github.com/ashm-dev
ashm-devhttps://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.pyhttps://github.com/python/cpython/pull/140603/files/bf3f8888b277817bb674b899c564cef27cfd0a12#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
ashm-devhttps://github.com/ashm-dev
Oct 26, 2025https://github.com/python/cpython/pull/140603#discussion_r2463760508
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/140603
https://github.com/serhiy-storchaka
serhiy-storchakahttps://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-storchakahttps://github.com/serhiy-storchaka
https://github.com/python/cpython/pull/140603#pullrequestreview-3381040630
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/140603
Lib/xml/etree/ElementTree.pyhttps://github.com/python/cpython/pull/140603/files/bf3f8888b277817bb674b899c564cef27cfd0a12#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673
Please reload this pagehttps://github.com/python/cpython/pull/140603
Lib/xml/etree/ElementTree.pyhttps://github.com/python/cpython/pull/140603/files/bf3f8888b277817bb674b899c564cef27cfd0a12#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673
Please reload this pagehttps://github.com/python/cpython/pull/140603
Lib/xml/etree/ElementTree.pyhttps://github.com/python/cpython/pull/140603/files/bf3f8888b277817bb674b899c564cef27cfd0a12#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673
Please reload this pagehttps://github.com/python/cpython/pull/140603
Lib/xml/etree/ElementTree.pyhttps://github.com/python/cpython/pull/140603/files/bf3f8888b277817bb674b899c564cef27cfd0a12#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673
Please reload this pagehttps://github.com/python/cpython/pull/140603
osamakaderhttps://github.com/osamakader
October 26, 2025 22:55https://github.com/python/cpython/pull/140603#commits-pushed-e6c11de
https://github.com/osamakader
Address review feedback from serhiy-storchakahttps://github.com/python/cpython/pull/140603/commits/e6c11de1ba59c128c2711374cd53f8eba3891c12
e6c11dehttps://github.com/python/cpython/pull/140603/commits/e6c11de1ba59c128c2711374cd53f8eba3891c12
https://github.com/osamakader
remove extra whitespacehttps://github.com/python/cpython/pull/140603/commits/53f63b9971332ce075bfd7037d0fe51dd54eb8c3
53f63b9https://github.com/python/cpython/pull/140603/commits/53f63b9971332ce075bfd7037d0fe51dd54eb8c3
https://github.com/osamakader
remove unused importhttps://github.com/python/cpython/pull/140603/commits/c8ea7768a3e062132e8bd497559940ab27652c70
c8ea776https://github.com/python/cpython/pull/140603/commits/c8ea7768a3e062132e8bd497559940ab27652c70
https://github.com/serhiy-storchaka
serhiy-storchakahttps://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.pyhttps://github.com/python/cpython/pull/140603/files/c8ea7768a3e062132e8bd497559940ab27652c70#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
Please reload this pagehttps://github.com/python/cpython/pull/140603
Lib/test/test_xml_etree.pyhttps://github.com/python/cpython/pull/140603/files/c8ea7768a3e062132e8bd497559940ab27652c70#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
Please reload this pagehttps://github.com/python/cpython/pull/140603
Lib/test/test_xml_etree.pyhttps://github.com/python/cpython/pull/140603/files/c8ea7768a3e062132e8bd497559940ab27652c70#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
Please reload this pagehttps://github.com/python/cpython/pull/140603
osamakaderhttps://github.com/osamakader
October 26, 2025 23:24https://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
fcd7ca0https://github.com/python/cpython/pull/140603/commits/fcd7ca09a77f22aa6362bce805746c4254d0a5ec
https://github.com/osamakader
Add assertions to verify ResourceWarning contenthttps://github.com/python/cpython/pull/140603/commits/0f9b5094c712f8ca8093017140f1af78a191b965
0f9b509https://github.com/python/cpython/pull/140603/commits/0f9b5094c712f8ca8093017140f1af78a191b965
https://github.com/osamakader
Remove redundant test_iterparse_resource_warning functionhttps://github.com/python/cpython/pull/140603/commits/6e3b0711626669da8e458d09f1bd3fe9bef2876b
6e3b071https://github.com/python/cpython/pull/140603/commits/6e3b0711626669da8e458d09f1bd3fe9bef2876b
https://github.com/osamakader
Remove source=self from ResourceWarninghttps://github.com/python/cpython/pull/140603/commits/86fc36b3d3e9d4d5ea670e2b50a99b55332e889d
86fc36bhttps://github.com/python/cpython/pull/140603/commits/86fc36b3d3e9d4d5ea670e2b50a99b55332e889d
https://github.com/osamakader
osamakaderhttps://github.com/osamakader
Oct 26, 2025https://github.com/python/cpython/pull/140603#issuecomment-3448933615
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/140603
serhiy-storchakahttps://github.com/serhiy-storchaka
October 27, 2025 11:29https://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
329c09chttps://github.com/python/cpython/pull/140603/commits/329c09c4054e8257b1573b2b4c2484e1f700a3f5
https://github.com/serhiy-storchaka
Reorganize tests.https://github.com/python/cpython/pull/140603/commits/dd204415282d99ec7bbf51528e2c8a3a7e7bd997
dd20441https://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
b1f67a4https://github.com/python/cpython/pull/140603/commits/b1f67a4eb6506dcdc5eab06e00eee07aca61335c
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Oct 27, 2025https://github.com/python/cpython/pull/140603#issuecomment-3450561209
Please reload this pagehttps://github.com/python/cpython/pull/140603
https://github.com/osamakader
Add versionchanged directive for ResourceWarninghttps://github.com/python/cpython/pull/140603/commits/15c0c5b99dd5bd0308b7da3cb35b9da8ff9b04f2
15c0c5bhttps://github.com/python/cpython/pull/140603/commits/15c0c5b99dd5bd0308b7da3cb35b9da8ff9b04f2
https://github.com/osamakader
osamakaderhttps://github.com/osamakader
Oct 27, 2025https://github.com/python/cpython/pull/140603#issuecomment-3450823630
@serhiy-storchakahttps://github.com/serhiy-storchaka
Please reload this pagehttps://github.com/python/cpython/pull/140603
https://github.com/osamakader
osamakaderhttps://github.com/osamakader
serhiy-storchakahttps://github.com/serhiy-storchaka
October 29, 2025 14:08https://github.com/python/cpython/pull/140603#event-20581001935
https://github.com/osamakader
osamakaderhttps://github.com/osamakader
ashm-devhttps://github.com/ashm-dev
November 6, 2025 19:38https://github.com/python/cpython/pull/140603#event-20769699094
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 12, 2025https://github.com/python/cpython/pull/140603#issuecomment-3523750548
Please reload this pagehttps://github.com/python/cpython/pull/140603
serhiy-storchakahttps://github.com/serhiy-storchaka
November 12, 2025 22:20https://github.com/python/cpython/pull/140603#commits-pushed-a7ef9f2
https://github.com/serhiy-storchaka
Merge branch 'main' into issue-140601-iterparse-warninghttps://github.com/python/cpython/pull/140603/commits/a7ef9f28693e2be4d0e3f290dbfcb5af0790daf8
a7ef9f2https://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
766d510https://github.com/python/cpython/pull/140603/commits/766d5103bae24ef3afdc7945120faa7ef6a131dc
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
AA-Turnerhttps://github.com/AA-Turner
code ownerhttps://github.com/python/cpython/blob/35ed3e4cedc8aef3936da81a6b64e90374532b13/.github/CODEOWNERS#L114
November 12, 2025 21:16https://github.com/python/cpython/pull/140603#event-20898907302
https://github.com/cmaloney
cmaloneyhttps://github.com/cmaloney
Nov 13, 2025https://github.com/python/cpython/pull/140603#issuecomment-3525915843
Please reload this pagehttps://github.com/python/cpython/pull/140603
https://github.com/cmaloney
cmaloneyhttps://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.rsthttps://github.com/python/cpython/pull/140603/files/766d5103bae24ef3afdc7945120faa7ef6a131dc#diff-9f6d65f8cd6bc51eb67fc1894e1c462159a62f370e2d99dafe4b10ebca41160f
Please reload this pagehttps://github.com/python/cpython/pull/140603
Lib/test/test_xml_etree.pyhttps://github.com/python/cpython/pull/140603/files/766d5103bae24ef3afdc7945120faa7ef6a131dc#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
Please reload this pagehttps://github.com/python/cpython/pull/140603
Lib/xml/etree/ElementTree.pyhttps://github.com/python/cpython/pull/140603/files/766d5103bae24ef3afdc7945120faa7ef6a131dc#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673
Please reload this pagehttps://github.com/python/cpython/pull/140603
https://github.com/ashm-dev
ashm-devhttps://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.pyhttps://github.com/python/cpython/pull/140603/files/766d5103bae24ef3afdc7945120faa7ef6a131dc#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673
ashm-devhttps://github.com/ashm-dev
Nov 13, 2025https://github.com/python/cpython/pull/140603#discussion_r2522310004
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/140603
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 13, 2025https://github.com/python/cpython/pull/140603#discussion_r2522637996
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/140603
ashm-devhttps://github.com/ashm-dev
Nov 13, 2025https://github.com/python/cpython/pull/140603#discussion_r2522697054
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/140603
Lib/xml/etree/ElementTree.pyhttps://github.com/python/cpython/pull/140603/files/766d5103bae24ef3afdc7945120faa7ef6a131dc#diff-6cc017478b4d1fa353b3869176b34a540106a61462417ba0ee1a77fc64eef673
ashm-devhttps://github.com/ashm-dev
Nov 13, 2025https://github.com/python/cpython/pull/140603#discussion_r2522333109
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/140603
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 13, 2025https://github.com/python/cpython/pull/140603#discussion_r2522619624
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/140603
Lib/test/test_xml_etree.pyhttps://github.com/python/cpython/pull/140603/files/766d5103bae24ef3afdc7945120faa7ef6a131dc#diff-cd2315ff25ab49e653d363de2d213e390ecb1b01bbc86e2be3b700db4b0bf454
ashm-devhttps://github.com/ashm-dev
Nov 13, 2025https://github.com/python/cpython/pull/140603#discussion_r2522344362
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/140603
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 13, 2025https://github.com/python/cpython/pull/140603#discussion_r2522645598
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/140603
serhiy-storchakahttps://github.com/serhiy-storchaka
Nov 13, 2025https://github.com/python/cpython/pull/140603#discussion_r2522972847
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
#141499https://github.com/python/cpython/pull/141499
Please reload this pagehttps://github.com/python/cpython/pull/140603
ashm-devhttps://github.com/ashm-dev
Nov 13, 2025https://github.com/python/cpython/pull/140603#discussion_r2523013403
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/140603
https://github.com/apps/bedevere-app
bedevere-apphttps://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, 2025https://github.com/python/cpython/pull/140603#event-20910850345
serhiy-storchakahttps://github.com/serhiy-storchaka
November 13, 2025 11:50https://github.com/python/cpython/pull/140603#commits-pushed-53880a6
https://github.com/serhiy-storchaka
https://github.com/cmaloney
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/140603/commits/53880a65a4963bffd9ce3a1d6a45dfd74f45091c
53880a6https://github.com/python/cpython/pull/140603/commits/53880a65a4963bffd9ce3a1d6a45dfd74f45091c
https://github.com/serhiy-storchaka
Refactor tests.https://github.com/python/cpython/pull/140603/commits/8a37683925f56a0ad890076325427bc323832d7b
8a37683https://github.com/python/cpython/pull/140603/commits/8a37683925f56a0ad890076325427bc323832d7b
https://github.com/serhiy-storchaka
Merge branch 'main' into issue-140601-iterparse-warninghttps://github.com/python/cpython/pull/140603/commits/6c5c5e82c484b4bcac7bde34cc9b812ab0fa70b4
6c5c5e8https://github.com/python/cpython/pull/140603/commits/6c5c5e82c484b4bcac7bde34cc9b812ab0fa70b4
https://github.com/serhiy-storchaka
serhiy-storchakahttps://github.com/serhiy-storchaka
a486d45https://github.com/python/cpython/commit/a486d452c78a7dfcd42561f6c151bf1fef0a756e
Nov 13, 2025https://github.com/python/cpython/pull/140603#event-20925006617
Please reload this pagehttps://github.com/python/cpython/pull/140603
https://github.com/apps/bedevere-app
bedevere-apphttps://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, 2025https://github.com/python/cpython/pull/140603#event-20925008061
CuriousLearnerhttps://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-issue21914https://github.com/CuriousLearner/cpython/commit/b9f473caa7ea83f0d77d70c02a12b38fe746c233
b9f473chttps://github.com/CuriousLearner/cpython/commit/b9f473caa7ea83f0d77d70c02a12b38fe746c233
pythongh-140601https://github.com/python/cpython/issues/140601
pythonGH-140603https://github.com/python/cpython/pull/140603
pythongh-137969https://github.com/python/cpython/issues/137969
python#140974https://github.com/python/cpython/pull/140974
pythongh-139109https://github.com/python/cpython/issues/139109
pythonGH-140310https://github.com/python/cpython/pull/140310
pythongh-141004https://github.com/python/cpython/issues/141004
python#141521https://github.com/python/cpython/pull/141521
pythongh-140873https://github.com/python/cpython/issues/140873
pythonGH-140884https://github.com/python/cpython/pull/140884
pythongh-139653https://github.com/python/cpython/issues/139653
python#139668https://github.com/python/cpython/pull/139668
pythongh-141004https://github.com/python/cpython/issues/141004
pythonGH-141378https://github.com/python/cpython/pull/141378
pythongh-141004https://github.com/python/cpython/issues/141004
pythonGH-141009https://github.com/python/cpython/pull/141009
pythongh-137959https://github.com/python/cpython/issues/137959
pythonGH-141496https://github.com/python/cpython/pull/141496
pythongh-139871https://github.com/python/cpython/issues/139871
pythonGH-140128https://github.com/python/cpython/pull/140128
pythongh-140601https://github.com/python/cpython/issues/140601
pythonGH-141499https://github.com/python/cpython/pull/141499
pythongh-135801https://github.com/python/cpython/issues/135801
pythonGH-139652https://github.com/python/cpython/pull/139652
pythongh-140260https://github.com/python/cpython/issues/140260
python#140909https://github.com/python/cpython/pull/140909
pythongh-137109https://github.com/python/cpython/issues/137109
python#141438https://github.com/python/cpython/pull/141438
pythongh-141004https://github.com/python/cpython/issues/141004
pythonGH-141405https://github.com/python/cpython/pull/141405
pythongh-124111https://github.com/python/cpython/issues/124111
pythonGH-128103https://github.com/python/cpython/pull/128103
pythongh-141442https://github.com/python/cpython/issues/141442
python#141443https://github.com/python/cpython/pull/141443
pythongh-140936https://github.com/python/cpython/issues/140936
pythonGH-140969https://github.com/python/cpython/pull/140969
python#141167https://github.com/python/cpython/pull/141167
pythongh-141412https://github.com/python/cpython/issues/141412
pythonGH-141428https://github.com/python/cpython/pull/141428
CuriousLearnerhttps://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-Issue18387https://github.com/CuriousLearner/cpython/commit/c46ecc50bebdcba2426c2b966bd45e432f4fc2ea
c46ecc5https://github.com/CuriousLearner/cpython/commit/c46ecc50bebdcba2426c2b966bd45e432f4fc2ea
pythongh-140601https://github.com/python/cpython/issues/140601
pythonGH-140603https://github.com/python/cpython/pull/140603
pythongh-137969https://github.com/python/cpython/issues/137969
python#140974https://github.com/python/cpython/pull/140974
pythongh-139109https://github.com/python/cpython/issues/139109
pythonGH-140310https://github.com/python/cpython/pull/140310
pythongh-141004https://github.com/python/cpython/issues/141004
python#141521https://github.com/python/cpython/pull/141521
pythongh-140873https://github.com/python/cpython/issues/140873
pythonGH-140884https://github.com/python/cpython/pull/140884
pythongh-139653https://github.com/python/cpython/issues/139653
python#139668https://github.com/python/cpython/pull/139668
pythongh-141004https://github.com/python/cpython/issues/141004
pythonGH-141378https://github.com/python/cpython/pull/141378
pythongh-141004https://github.com/python/cpython/issues/141004
pythonGH-141009https://github.com/python/cpython/pull/141009
pythongh-137959https://github.com/python/cpython/issues/137959
pythonGH-141496https://github.com/python/cpython/pull/141496
pythongh-139871https://github.com/python/cpython/issues/139871
pythonGH-140128https://github.com/python/cpython/pull/140128
pythongh-140601https://github.com/python/cpython/issues/140601
pythonGH-141499https://github.com/python/cpython/pull/141499
pythongh-135801https://github.com/python/cpython/issues/135801
pythonGH-139652https://github.com/python/cpython/pull/139652
pythongh-140260https://github.com/python/cpython/issues/140260
python#140909https://github.com/python/cpython/pull/140909
pythongh-137109https://github.com/python/cpython/issues/137109
python#141438https://github.com/python/cpython/pull/141438
pythongh-141004https://github.com/python/cpython/issues/141004
pythonGH-141405https://github.com/python/cpython/pull/141405
pythongh-124111https://github.com/python/cpython/issues/124111
pythonGH-128103https://github.com/python/cpython/pull/128103
pythongh-141442https://github.com/python/cpython/issues/141442
python#141443https://github.com/python/cpython/pull/141443
pythongh-140936https://github.com/python/cpython/issues/140936
pythonGH-140969https://github.com/python/cpython/pull/140969
python#141167https://github.com/python/cpython/pull/141167
pythongh-141412https://github.com/python/cpython/issues/141412
pythonGH-141428https://github.com/python/cpython/pull/141428
CuriousLearnerhttps://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-issue24255https://github.com/CuriousLearner/cpython/commit/c240289cd6aa389ed8950d28f9248fadca9d071a
c240289https://github.com/CuriousLearner/cpython/commit/c240289cd6aa389ed8950d28f9248fadca9d071a
pythongh-140601https://github.com/python/cpython/issues/140601
pythonGH-140603https://github.com/python/cpython/pull/140603
pythongh-137969https://github.com/python/cpython/issues/137969
python#140974https://github.com/python/cpython/pull/140974
pythongh-139109https://github.com/python/cpython/issues/139109
pythonGH-140310https://github.com/python/cpython/pull/140310
pythongh-141004https://github.com/python/cpython/issues/141004
python#141521https://github.com/python/cpython/pull/141521
pythongh-140873https://github.com/python/cpython/issues/140873
pythonGH-140884https://github.com/python/cpython/pull/140884
pythongh-139653https://github.com/python/cpython/issues/139653
python#139668https://github.com/python/cpython/pull/139668
pythongh-141004https://github.com/python/cpython/issues/141004
pythonGH-141378https://github.com/python/cpython/pull/141378
pythongh-141004https://github.com/python/cpython/issues/141004
pythonGH-141009https://github.com/python/cpython/pull/141009
pythongh-137959https://github.com/python/cpython/issues/137959
pythonGH-141496https://github.com/python/cpython/pull/141496
pythongh-139871https://github.com/python/cpython/issues/139871
pythonGH-140128https://github.com/python/cpython/pull/140128
pythongh-140601https://github.com/python/cpython/issues/140601
pythonGH-141499https://github.com/python/cpython/pull/141499
pythongh-135801https://github.com/python/cpython/issues/135801
pythonGH-139652https://github.com/python/cpython/pull/139652
pythongh-140260https://github.com/python/cpython/issues/140260
python#140909https://github.com/python/cpython/pull/140909
pythongh-137109https://github.com/python/cpython/issues/137109
python#141438https://github.com/python/cpython/pull/141438
pythongh-141004https://github.com/python/cpython/issues/141004
pythonGH-141405https://github.com/python/cpython/pull/141405
pythongh-124111https://github.com/python/cpython/issues/124111
pythonGH-128103https://github.com/python/cpython/pull/128103
pythongh-141442https://github.com/python/cpython/issues/141442
python#141443https://github.com/python/cpython/pull/141443
pythongh-140936https://github.com/python/cpython/issues/140936
pythonGH-140969https://github.com/python/cpython/pull/140969
python#141167https://github.com/python/cpython/pull/141167
pythongh-141412https://github.com/python/cpython/issues/141412
pythonGH-141428https://github.com/python/cpython/pull/141428
StanFromIrelandhttps://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-140601https://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
50f2e4ehttps://github.com/StanFromIreland/cpython/commit/50f2e4e21284e9e383562c8d47ef955bd2cf1185
…thonGH-140603https://github.com/python/cpython/pull/140603
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%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 pagehttps://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
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.