René's URL Explorer Experiment


Title: bpo-31787: Prevent refleaks when calling __init__() more than once by orenmn · Pull Request #3995 · python/cpython · GitHub

Open Graph Title: bpo-31787: Prevent refleaks when calling __init__() more than once by orenmn · Pull Request #3995 · python/cpython

X Title: bpo-31787: Prevent refleaks when calling __init__() more than once by orenmn · Pull Request #3995 · python/cpython

Description: The Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: https://bugs.python.org/issue31787

X Description: https://bugs.python.org/issue31787

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:644d3af6-854b-50d1-5c13-3b2e781d2131
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAD56:3725FE:2890A4:3588C1:6A5ACF0B
html-safe-nonce9ced1751656e5e9e807ff90f20fb4d753f771fc8515bcacf3933d41170aa5693
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRDU2OjM3MjVGRToyODkwQTQ6MzU4OEMxOjZBNUFDRjBCIiwidmlzaXRvcl9pZCI6IjU0NDM4MDk0MTY2ODM2Mzg1MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf4f75e59541cc2a13beca6f2a44bc0b1b73b9eaeb85ab69ac103ca01b143144f
hovercard-subject-tagpull_request:146595660
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///pull_requests/show/commits
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/3995/commits
twitter:imagehttps://opengraph.githubassets.com/262e29ccbc55aeba4b9b2831c12eee94c46fe8a0e84ca1075292ebcc50ff8a61/python/cpython/pull/3995
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/262e29ccbc55aeba4b9b2831c12eee94c46fe8a0e84ca1075292ebcc50ff8a61/python/cpython/pull/3995
og:image:althttps://bugs.python.org/issue31787
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameorenmn
hostnamegithub.com
expected-hostnamegithub.com
None887a0902ea4987c46dd44cbc73dfadecb93a29560d7519a576fcecd81716148c
turbo-cache-controlno-cache
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
release2606513ce6b72f8b775db6a60283f9cf7d4d70a5
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/3995/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F3995%2Fcommits
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
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/enterprise/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%2F3995%2Fcommits
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%2Fcommits&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/3995/commits
Reloadhttps://github.com/python/cpython/pull/3995/commits
Reloadhttps://github.com/python/cpython/pull/3995/commits
Please reload this pagehttps://github.com/python/cpython/pull/3995/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/3995/commits
Notifications https://github.com/login?return_to=%2Fpython%2Fcpython
Fork 34.9k https://github.com/login?return_to=%2Fpython%2Fcpython
Star 73.8k https://github.com/login?return_to=%2Fpython%2Fcpython
Code https://github.com/python/cpython
Issues 5k+ https://github.com/python/cpython/issues
Pull requests 2.3k https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality 0 https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
Code https://github.com/python/cpython
Issues https://github.com/python/cpython/issues
Pull requests https://github.com/python/cpython/pulls
Actions https://github.com/python/cpython/actions
Projects https://github.com/python/cpython/projects
Security and quality https://github.com/python/cpython/security
Insights https://github.com/python/cpython/pulse
methanehttps://github.com/methane
python:masterhttps://github.com/python/cpython/tree/master
orenmn:bpo31787-fix-refleakshttps://github.com/orenmn/cpython/tree/bpo31787-fix-refleaks
Conversationhttps://github.com/python/cpython/pull/3995
Commits20 (20)https://github.com/python/cpython/pull/3995/commits
Checkshttps://github.com/python/cpython/pull/3995/checks
Files changedhttps://github.com/python/cpython/pull/3995/files
bpo-31787: Prevent refleaks when calling __init__() more than oncehttps://github.com/python/cpython/pull/3995/commits#top
methanehttps://github.com/methane
python:masterhttps://github.com/python/cpython/tree/master
orenmn:bpo31787-fix-refleakshttps://github.com/orenmn/cpython/tree/bpo31787-fix-refleaks
init commithttps://github.com/python/cpython/pull/3995/commits/1bde97f77d1c099542e0118ccaa81fb454a0fefd
https://github.com/orenmn
orenmnhttps://github.com/python/cpython/commits?author=orenmn
1bde97fhttps://github.com/python/cpython/pull/3995/commits/1bde97f77d1c099542e0118ccaa81fb454a0fefd
https://github.com/python/cpython/tree/1bde97f77d1c099542e0118ccaa81fb454a0fefd
add tests for bz2 and lzmahttps://github.com/python/cpython/pull/3995/commits/1935a91bddb8864f0050a27f16cdb654dadf9024
https://github.com/orenmn
orenmnhttps://github.com/python/cpython/commits?author=orenmn
1935a91https://github.com/python/cpython/pull/3995/commits/1935a91bddb8864f0050a27f16cdb654dadf9024
https://github.com/python/cpython/tree/1935a91bddb8864f0050a27f16cdb654dadf9024
added a test for propertyhttps://github.com/python/cpython/pull/3995/commits/baa612cde9fbb0275b48b6d5a1fb61aa142be6cb
https://github.com/orenmn
orenmnhttps://github.com/python/cpython/commits?author=orenmn
baa612chttps://github.com/python/cpython/pull/3995/commits/baa612cde9fbb0275b48b6d5a1fb61aa142be6cb
https://github.com/python/cpython/tree/baa612cde9fbb0275b48b6d5a1fb61aa142be6cb
added tests for classmethod and staticmethodhttps://github.com/python/cpython/pull/3995/commits/2553833a469976d9884e34251a8a886ac455fdc7
https://github.com/orenmn
orenmnhttps://github.com/python/cpython/commits?author=orenmn
2553833https://github.com/python/cpython/pull/3995/commits/2553833a469976d9884e34251a8a886ac455fdc7
https://github.com/python/cpython/tree/2553833a469976d9884e34251a8a886ac455fdc7
simplified the lzma and bz2 testshttps://github.com/python/cpython/pull/3995/commits/7d428834a7f1abacb2b0d7f45531b30147bc304e
https://github.com/orenmn
orenmnhttps://github.com/python/cpython/commits?author=orenmn
7d42883https://github.com/python/cpython/pull/3995/commits/7d428834a7f1abacb2b0d7f45531b30147bc304e
https://github.com/python/cpython/tree/7d428834a7f1abacb2b0d7f45531b30147bc304e
added a test for hashhttps://github.com/python/cpython/pull/3995/commits/b4cf5d0d4886ce32e42e2edfb1841874dc8668b3
https://github.com/orenmn
orenmnhttps://github.com/python/cpython/commits?author=orenmn
b4cf5d0https://github.com/python/cpython/pull/3995/commits/b4cf5d0d4886ce32e42e2edfb1841874dc8668b3
https://github.com/python/cpython/tree/b4cf5d0d4886ce32e42e2edfb1841874dc8668b3
add a comment to the hash testhttps://github.com/python/cpython/pull/3995/commits/9575b4427853880e9f7613a0c0598be3ac51f097
https://github.com/orenmn
orenmnhttps://github.com/python/cpython/commits?author=orenmn
9575b44https://github.com/python/cpython/pull/3995/commits/9575b4427853880e9f7613a0c0598be3ac51f097
https://github.com/python/cpython/tree/9575b4427853880e9f7613a0c0598be3ac51f097
remove the comment in the hash testhttps://github.com/python/cpython/pull/3995/commits/15c8f416b47d469329f1c142cbb8bc7fce4a49a2
https://github.com/orenmn
orenmnhttps://github.com/python/cpython/commits?author=orenmn
15c8f41https://github.com/python/cpython/pull/3995/commits/15c8f416b47d469329f1c142cbb8bc7fce4a49a2
https://github.com/python/cpython/tree/15c8f416b47d469329f1c142cbb8bc7fce4a49a2
added a test for asyncio taskhttps://github.com/python/cpython/pull/3995/commits/004bfa5fc71f57c2cc1001ac234bfb250905ba85
https://github.com/orenmn
orenmnhttps://github.com/python/cpython/commits?author=orenmn
004bfa5https://github.com/python/cpython/pull/3995/commits/004bfa5fc71f57c2cc1001ac234bfb250905ba85
https://github.com/python/cpython/tree/004bfa5fc71f57c2cc1001ac234bfb250905ba85
prevent destroying the task while it is pendinghttps://github.com/python/cpython/pull/3995/commits/921f49da727c9a842ef7218b8184d9f34a8e732d
https://github.com/orenmn
orenmnhttps://github.com/python/cpython/commits?author=orenmn
921f49dhttps://github.com/python/cpython/pull/3995/commits/921f49da727c9a842ef7218b8184d9f34a8e732d
https://github.com/python/cpython/tree/921f49da727c9a842ef7218b8184d9f34a8e732d
slightly simplify the testhttps://github.com/python/cpython/pull/3995/commits/1608ab68ddf125beb8b48806e3bd0efe08468801
https://github.com/orenmn
orenmnhttps://github.com/python/cpython/commits?author=orenmn
1608ab6https://github.com/python/cpython/pull/3995/commits/1608ab68ddf125beb8b48806e3bd0efe08468801
https://github.com/python/cpython/tree/1608ab68ddf125beb8b48806e3bd0efe08468801
add a comment to clarify the asyncio testhttps://github.com/python/cpython/pull/3995/commits/6a00fc2fda89b1ef4690a6dbca3663a6940a0981
https://github.com/orenmn
orenmnhttps://github.com/python/cpython/commits?author=orenmn
6a00fc2https://github.com/python/cpython/pull/3995/commits/6a00fc2fda89b1ef4690a6dbca3663a6940a0981
https://github.com/python/cpython/tree/6a00fc2fda89b1ef4690a6dbca3663a6940a0981
merge masterhttps://github.com/python/cpython/pull/3995/commits/c6b0d60c52e1239c517dc8be7e3bd4bdb1da559b
https://github.com/orenmn
orenmnhttps://github.com/python/cpython/commits?author=orenmn
c6b0d60https://github.com/python/cpython/pull/3995/commits/c6b0d60c52e1239c517dc8be7e3bd4bdb1da559b
https://github.com/python/cpython/tree/c6b0d60c52e1239c517dc8be7e3bd4bdb1da559b
Merge branch 'master' into orenmn-bpo31787-fix-refleakshttps://github.com/python/cpython/pull/3995/commits/9e67aba7a23d65704b1dc62d819b992626e22784
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
9e67abahttps://github.com/python/cpython/pull/3995/commits/9e67aba7a23d65704b1dc62d819b992626e22784
https://github.com/python/cpython/tree/9e67aba7a23d65704b1dc62d819b992626e22784
Add NEWS entryhttps://github.com/python/cpython/pull/3995/commits/20bef1bdf5b37218dc8e8ec3960b8c4fed1aef3c
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
20bef1bhttps://github.com/python/cpython/pull/3995/commits/20bef1bdf5b37218dc8e8ec3960b8c4fed1aef3c
https://github.com/python/cpython/tree/20bef1bdf5b37218dc8e8ec3960b8c4fed1aef3c
Fix testhttps://github.com/python/cpython/pull/3995/commits/b3e10edf34402269f1f543ac98c6e0208c027818
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
b3e10edhttps://github.com/python/cpython/pull/3995/commits/b3e10edf34402269f1f543ac98c6e0208c027818
https://github.com/python/cpython/tree/b3e10edf34402269f1f543ac98c6e0208c027818
Fix more refleakshttps://github.com/python/cpython/pull/3995/commits/f3f344ae444ee0470121f0a009639534236c8e27
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
f3f344ahttps://github.com/python/cpython/pull/3995/commits/f3f344ae444ee0470121f0a009639534236c8e27
https://github.com/python/cpython/tree/f3f344ae444ee0470121f0a009639534236c8e27
Overriding loop.call_soon() is not allowedhttps://github.com/python/cpython/pull/3995/commits/be14ca26f8fa1a7c4246b503a9ba80ee44196b39
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
be14ca2https://github.com/python/cpython/pull/3995/commits/be14ca26f8fa1a7c4246b503a9ba80ee44196b39
https://github.com/python/cpython/tree/be14ca26f8fa1a7c4246b503a9ba80ee44196b39
Merge remote-tracking branch 'origin/master' into refleakshttps://github.com/python/cpython/pull/3995/commits/96224ef712fec7746eaec3138d509019f9ede68b
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
96224efhttps://github.com/python/cpython/pull/3995/commits/96224ef712fec7746eaec3138d509019f9ede68b
https://github.com/python/cpython/tree/96224ef712fec7746eaec3138d509019f9ede68b
Fix test_asyncio.test_tasks failhttps://github.com/python/cpython/pull/3995/commits/7ac37a445b3281bc1f1b585b83c624e01ab14b5d
https://github.com/methane
methanehttps://github.com/python/cpython/commits?author=methane
7ac37a4https://github.com/python/cpython/pull/3995/commits/7ac37a445b3281bc1f1b585b83c624e01ab14b5d
https://github.com/python/cpython/tree/7ac37a445b3281bc1f1b585b83c624e01ab14b5d
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.