René's URL Explorer Experiment


Title: Numerous refleaks on main · Issue #103879 · python/cpython · GitHub

Open Graph Title: Numerous refleaks on main · Issue #103879 · python/cpython

X Title: Numerous refleaks on main · Issue #103879 · python/cpython

Description: https://buildbot.python.org/all/#/release_status shows that the refleak buildbots are failing on current main. Example output on https://buildbot.python.org/all/#/builders/75/builds/745/steps/5/logs/warnings__111_. Failing tests: Details...

Open Graph Description: https://buildbot.python.org/all/#/release_status shows that the refleak buildbots are failing on current main. Example output on https://buildbot.python.org/all/#/builders/75/builds/745/steps/5/log...

X Description: https://buildbot.python.org/all/#/release_status shows that the refleak buildbots are failing on current main. Example output on https://buildbot.python.org/all/#/builders/75/builds/745/steps/5/log...

Opengraph URL: https://github.com/python/cpython/issues/103879

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Numerous refleaks on main","articleBody":"https://buildbot.python.org/all/#/release_status shows that the refleak buildbots are failing on current main. Example output on https://buildbot.python.org/all/#/builders/75/builds/745/steps/5/logs/warnings__111_.\r\n\r\nFailing tests:\r\n\r\n\u003cdetails\u003e\r\n\r\n```\r\ntest_functools leaked [1, 1, 2] references, sum=4\r\ntest_warnings leaked [4, 4, 4] references, sum=12\r\ntest_ipaddress leaked [6, 6, 6] references, sum=18\r\ntest_zoneinfo leaked [7, 6, 11] references, sum=24\r\nFAIL: test_flock (__main__.FNTLEINTRTest.test_flock)\r\ntest_random leaked [1, 2, 4] references, sum=7\r\ntest_statistics leaked [175, 174, 175] references, sum=524\r\ntest_dataclasses leaked [3, 3, 2] references, sum=8\r\ntest_argparse leaked [69, 70, 76] references, sum=215\r\n/home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.refleak/build/Lib/test/support/__init__.py:743: ResourceWarning: unclosed \u003csocket.socket [closed] fd=3, family=2, type=1, proto=6\u003e\r\nResourceWarning: Enable tracemalloc to get the object allocation traceback\r\n./home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.refleak/build/Lib/test/support/__init__.py:743: ResourceWarning: unclosed \u003csocket.socket [closed] fd=3, family=2, type=1, proto=6\u003e\r\nResourceWarning: Enable tracemalloc to get the object allocation traceback\r\n./home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.refleak/build/Lib/test/support/__init__.py:743: ResourceWarning: unclosed \u003csocket.socket [closed] fd=3, family=2, type=1, proto=6\u003e\r\nResourceWarning: Enable tracemalloc to get the object allocation traceback\r\n./home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.refleak/build/Lib/test/support/__init__.py:743: ResourceWarning: unclosed \u003csocket.socket [closed] fd=3, family=2, type=1, proto=6\u003e\r\nResourceWarning: Enable tracemalloc to get the object allocation traceback\r\n./home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.refleak/build/Lib/test/support/__init__.py:743: ResourceWarning: unclosed \u003csocket.socket [closed] fd=3, family=2, type=1, proto=6\u003e\r\nResourceWarning: Enable tracemalloc to get the object allocation traceback\r\n./home/dje/cpython-buildarea/3.x.edelsohn-rhel8-z.refleak/build/Lib/test/support/__init__.py:743: ResourceWarning: unclosed \u003csocket.socket [closed] fd=3, family=2, type=1, proto=6\u003e\r\nResourceWarning: Enable tracemalloc to get the object allocation traceback\r\ntest_tarfile leaked [17, 17, 16] references, sum=50\r\ntest_typing leaked [95, 121, 95] references, sum=311\r\ntest_typing leaked [1, 14, 1] memory blocks, sum=16\r\ntest_lib2to3 leaked [5, 8, 6] references, sum=19\r\ntest_shutil leaked [2, 2, 2] references, sum=6\r\ntest_unittest leaked [8, 12, 15] references, sum=35\r\ntest_logging leaked [3, 2, 1] references, sum=6\r\ntest__xxsubinterpreters leaked [46, 45, 45] references, sum=136\r\ntest_mailbox leaked [2, 3, 2] references, sum=7\r\ntest_socket leaked [24, 23, 23] references, sum=70\r\ntest_htmlparser leaked [2, 2, 2] references, sum=6\r\ntest_regrtest leaked [9, 12, 8] references, sum=29\r\ntest_datetime leaked [11, 11, 11] references, sum=33\r\ntest_nntplib leaked [1, 3, 2] references, sum=6\r\ntest_ftplib leaked [10, 13, 9] references, sum=32\r\ntest_interpreters leaked [54, 54, 54] references, sum=162\r\ntest_zipfile leaked [3, 4, 4] references, sum=11\r\ntest_sys_settrace leaked [6, 6, 6] references, sum=18\r\ntest_descr leaked [3, 65, 67] references, sum=135\r\ntest_compile leaked [7, 7, 7] references, sum=21\r\ntest_bytes leaked [2, 2, 2] references, sum=6\r\ntest_ast leaked [9, 9, 9] references, sum=27\r\ntest_poplib leaked [3, 3, 2] references, sum=8\r\ntest_types leaked [8, 50, 43] references, sum=101\r\ntest_concurrent_futures leaked [11, 12, 11] references, sum=34\r\ntest_genericalias leaked [2, 2, 3] references, sum=7\r\ntest_math leaked [32, 31, 33] references, sum=96\r\ntest_numeric_tower leaked [2, 1, 2] references, sum=5\r\ntest_capi leaked [99, 99, 99] references, sum=297\r\ntest_import leaked [170, 171, 168] references, sum=509\r\ntest_import leaked [71, 71, 70] memory blocks, sum=212\r\n.test test_monitoring failed -- multiple errors occurred; run in verbose mode for details\r\ntest_selectors leaked [5, 6, 4] references, sum=15\r\ntest_email leaked [27, 26, 25] references, sum=78\r\ntest_subprocess leaked [1, 1, 1] references, sum=3\r\ntest_struct leaked [1, 1, 1] references, sum=3\r\ntest_weakref leaked [1, 1, 1] references, sum=3\r\ntest_imaplib leaked [2, 2, 1] references, sum=5\r\n0:45:54 load avg: 0.13 Re-running failed tests in verbose mode\r\n0:45:54 load avg: 0.13 Re-running test_functools in verbose mode\r\ntest_functools leaked [1, 1, 2] references, sum=4\r\n0:45:55 load avg: 0.13 Re-running test_warnings in verbose mode\r\ntest_warnings leaked [4, 4, 4] references, sum=12\r\n0:45:59 load avg: 0.20 Re-running test_ipaddress in verbose mode\r\ntest_ipaddress leaked [6, 6, 6] references, sum=18\r\n0:46:00 load avg: 0.20 Re-running test_zoneinfo in verbose mode\r\ntest_zoneinfo leaked [7, 6, 11] references, sum=24\r\n```\r\n\r\n\u003c/details\u003e\r\n\r\nI saw similar leaks triggering the refleak buildbots on #103866 and #103764, before I realized the issue was probably on main.\r\n\r\nBased on @sunmy2019's work in https://github.com/python/cpython/pull/103764#issuecomment-1522831646, we're likely leaking references to the `object.__setattr__` wrapper descriptor.\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-103882\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/JelleZijlstra","@type":"Person","name":"JelleZijlstra"},"datePublished":"2023-04-26T13:03:34.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":16},"url":"https://github.com/103879/cpython/issues/103879"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:aa367758-9937-77ed-aa00-b91139ec9997
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8AF2:7F7DE:94BEB7:C7A088:6969BF57
html-safe-nonceb684524112af5dac1848f03af9b5df4d4386090e46796665ea4b55a2a9e653bb
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QUYyOjdGN0RFOjk0QkVCNzpDN0EwODg6Njk2OUJGNTciLCJ2aXNpdG9yX2lkIjoiNjk4NTIyMjczMDUxNjM4MTUyNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5629ba24c5d5e8ff8a77067d38fff2fece0c600662b51532ab076c09cf813d07
hovercard-subject-tagissue:1684991990
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/103879/issue_layout
twitter:imagehttps://opengraph.githubassets.com/8642009656fca4ff8930be80f253bbc5008108c73282f7baecd8252e7a284f3c/python/cpython/issues/103879
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/8642009656fca4ff8930be80f253bbc5008108c73282f7baecd8252e7a284f3c/python/cpython/issues/103879
og:image:althttps://buildbot.python.org/all/#/release_status shows that the refleak buildbots are failing on current main. Example output on https://buildbot.python.org/all/#/builders/75/builds/745/steps/5/log...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameJelleZijlstra
hostnamegithub.com
expected-hostnamegithub.com
Noneacedec8b5f975d9e3d494ddd8f949b0b8a0de59d393901e26f73df9dcba80056
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
release83c08c21cdda978090dc44364b71aa5bc6dcea79
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/issues/103879#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F103879
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%2Fissues%2F103879
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/issues/103879
Reloadhttps://github.com/python/cpython/issues/103879
Reloadhttps://github.com/python/cpython/issues/103879
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/issues/103879
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/issues/103879
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
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/103879
New issuehttps://github.com/login?return_to=https://github.com/python/cpython/issues/103879
Numerous refleaks on mainhttps://github.com/python/cpython/issues/103879#top
3.12only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.12%22
release-blockerhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22release-blocker%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
https://github.com/JelleZijlstra
https://github.com/JelleZijlstra
JelleZijlstrahttps://github.com/JelleZijlstra
on Apr 26, 2023https://github.com/python/cpython/issues/103879#issue-1684991990
https://buildbot.python.org/all/#/release_statushttps://buildbot.python.org/all/#/release_status
https://buildbot.python.org/all/#/builders/75/builds/745/steps/5/logs/warnings__111https://buildbot.python.org/all/#/builders/75/builds/745/steps/5/logs/warnings__111
#103866https://github.com/python/cpython/pull/103866
#103764https://github.com/python/cpython/pull/103764
@sunmy2019https://github.com/sunmy2019
#103764 (comment)https://github.com/python/cpython/pull/103764#issuecomment-1522831646
gh-103879: Fix refleak in super specialization #103882https://github.com/python/cpython/pull/103882
3.12only security fixeshttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%223.12%22
release-blockerhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22release-blocker%22
type-bugAn unexpected behavior, bug, or errorhttps://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22type-bug%22
Release and Deferred blockers 🚫https://github.com/orgs/python/projects/2
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.