René's URL Explorer Experiment


Title: gh-135552: Add tests that check if weakref for tp_subclasses cleared after finalization by sergey-miryanov · Pull Request #136304 · python/cpython · GitHub

Open Graph Title: gh-135552: Add tests that check if weakref for tp_subclasses cleared after finalization by sergey-miryanov · Pull Request #136304 · python/cpython

X Title: gh-135552: Add tests that check if weakref for tp_subclasses cleared after finalization by sergey-miryanov · Pull Request #136304 · python/cpython

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

Open Graph Description: Tests for #136189 Issue: Segmentation fault, possibly due to a GC issue (tp_subclasses) #135552

X Description: Tests for #136189 Issue: Segmentation fault, possibly due to a GC issue (tp_subclasses) #135552

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

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:d8debd78-3f66-b1a2-de66-41c34bbab25c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD06E:25C52D:889B52:B0EBD1:696B1A11
html-safe-nonce4530bd8ad650be992788cacd9a788dd2fc5308e4077cf91ae4ed12c923b43cf1
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDZFOjI1QzUyRDo4ODlCNTI6QjBFQkQxOjY5NkIxQTExIiwidmlzaXRvcl9pZCI6IjQ3MDA3MDIxNjgwNDgxNDY5NjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacfb609ff24bc76e4d1d1068ea0b310b3355810335aa1337112eb3140230292fb3
hovercard-subject-tagpull_request:2642267113
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/136304/commits
twitter:imagehttps://opengraph.githubassets.com/5a15370c1c555fc4b165b2a9b073d79ccf0547f032573f1eeecbd97218d75a05/python/cpython/pull/136304
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5a15370c1c555fc4b165b2a9b073d79ccf0547f032573f1eeecbd97218d75a05/python/cpython/pull/136304
og:image:altTests for #136189 Issue: Segmentation fault, possibly due to a GC issue (tp_subclasses) #135552
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesergey-miryanov
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/136304/commits#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F136304%2Fcommits
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%2F136304%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/136304/commits
Reloadhttps://github.com/python/cpython/pull/136304/commits
Reloadhttps://github.com/python/cpython/pull/136304/commits
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/136304/commits
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/136304/commits
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
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
sergey-miryanov:gh-135552-add-tests-gc-weakref-tp_subclasseshttps://github.com/sergey-miryanov/cpython/tree/gh-135552-add-tests-gc-weakref-tp_subclasses
Conversationhttps://github.com/python/cpython/pull/136304
Commits13 (13)https://github.com/python/cpython/pull/136304/commits
Checkshttps://github.com/python/cpython/pull/136304/checks
Files changedhttps://github.com/python/cpython/pull/136304/files
gh-135552: Add tests that check if weakref for tp_subclasses cleared after finalizationhttps://github.com/python/cpython/pull/136304/commits#top
naschemehttps://github.com/nascheme
python:mainhttps://github.com/python/cpython/tree/main
sergey-miryanov:gh-135552-add-tests-gc-weakref-tp_subclasseshttps://github.com/sergey-miryanov/cpython/tree/gh-135552-add-tests-gc-weakref-tp_subclasses
Add testshttps://github.com/python/cpython/pull/136304/commits/4d648b48aaabb1bf0cf76414d1ac629cadaf7534
fxeqxmulfxhttps://github.com/python/cpython/commits?author=fxeqxmulfx
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
4d648b4https://github.com/python/cpython/pull/136304/commits/4d648b48aaabb1bf0cf76414d1ac629cadaf7534
https://github.com/python/cpython/tree/4d648b48aaabb1bf0cf76414d1ac629cadaf7534
Organize testshttps://github.com/python/cpython/pull/136304/commits/77e9ca7b9a0b5c5aed790735d7653120d34516e0
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
77e9ca7https://github.com/python/cpython/pull/136304/commits/77e9ca7b9a0b5c5aed790735d7653120d34516e0
https://github.com/python/cpython/tree/77e9ca7b9a0b5c5aed790735d7653120d34516e0
Simplify testshttps://github.com/python/cpython/pull/136304/commits/b6825da9df07a27a19a8ef36a870c8f0b46d5f29
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
b6825dahttps://github.com/python/cpython/pull/136304/commits/b6825da9df07a27a19a8ef36a870c8f0b46d5f29
https://github.com/python/cpython/tree/b6825da9df07a27a19a8ef36a870c8f0b46d5f29
Remove extra linehttps://github.com/python/cpython/pull/136304/commits/f62d43e6af2dc76a6c96f950ec3acce03e8dbf41
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
f62d43ehttps://github.com/python/cpython/pull/136304/commits/f62d43e6af2dc76a6c96f950ec3acce03e8dbf41
https://github.com/python/cpython/tree/f62d43e6af2dc76a6c96f950ec3acce03e8dbf41
Add extra commentshttps://github.com/python/cpython/pull/136304/commits/398c4f58f5dd07746a5969d63676e509efa5669d
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
398c4f5https://github.com/python/cpython/pull/136304/commits/398c4f58f5dd07746a5969d63676e509efa5669d
https://github.com/python/cpython/tree/398c4f58f5dd07746a5969d63676e509efa5669d
Add tests for checking that weakrefs clears before and after finalizationhttps://github.com/python/cpython/pull/136304/commits/7dd966925f469f715b1503bf44954ab002ac47d0
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
7dd9669https://github.com/python/cpython/pull/136304/commits/7dd966925f469f715b1503bf44954ab002ac47d0
https://github.com/python/cpython/tree/7dd966925f469f715b1503bf44954ab002ac47d0
Make tests a little bit reliablehttps://github.com/python/cpython/pull/136304/commits/1da73b37fe813c77bae73adf9b29f4a898cf3cb8
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
1da73b3https://github.com/python/cpython/pull/136304/commits/1da73b37fe813c77bae73adf9b29f4a898cf3cb8
https://github.com/python/cpython/tree/1da73b37fe813c77bae73adf9b29f4a898cf3cb8
Simplify testshttps://github.com/python/cpython/pull/136304/commits/05105397ead70678bf2484f11772e845c038b407
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
0510539https://github.com/python/cpython/pull/136304/commits/05105397ead70678bf2484f11772e845c038b407
https://github.com/python/cpython/tree/05105397ead70678bf2484f11772e845c038b407
Use unittest assertshttps://github.com/python/cpython/pull/136304/commits/50410d6b90ec8fd4a957678ada48431b648b1a22
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
50410d6https://github.com/python/cpython/pull/136304/commits/50410d6b90ec8fd4a957678ada48431b648b1a22
https://github.com/python/cpython/tree/50410d6b90ec8fd4a957678ada48431b648b1a22
Move test_clearing_weakrefs_in_gc to test_weakrefhttps://github.com/python/cpython/pull/136304/commits/aa18e7431ec27e9049f2c7badc024469979d8591
https://github.com/sergey-miryanov
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
aa18e74https://github.com/python/cpython/pull/136304/commits/aa18e7431ec27e9049f2c7badc024469979d8591
https://github.com/python/cpython/tree/aa18e7431ec27e9049f2c7badc024469979d8591
Apply suggestions from code reviewhttps://github.com/python/cpython/pull/136304/commits/7788e5537014c96d729c73d7982cf208c16deef5
sergey-miryanovhttps://github.com/python/cpython/commits?author=sergey-miryanov
kumaraditya303https://github.com/python/cpython/commits?author=kumaraditya303
7788e55https://github.com/python/cpython/pull/136304/commits/7788e5537014c96d729c73d7982cf208c16deef5
https://github.com/python/cpython/tree/7788e5537014c96d729c73d7982cf208c16deef5
Merge branch 'main' into gh-135552-add-tests-gc-weakref-tp_subclasseshttps://github.com/python/cpython/pull/136304/commits/d125d06f762e60cdafd9ab9dbe34a650134a472c
https://github.com/nascheme
naschemehttps://github.com/python/cpython/commits?author=nascheme
d125d06https://github.com/python/cpython/pull/136304/commits/d125d06f762e60cdafd9ab9dbe34a650134a472c
https://github.com/python/cpython/tree/d125d06f762e60cdafd9ab9dbe34a650134a472c
Revise test_clearing_weakrefs_in_gc testhttps://github.com/python/cpython/pull/136304/commits/0339d544908326dfb5a9c0c3bb138f40b654c65f
https://github.com/nascheme
naschemehttps://github.com/python/cpython/commits?author=nascheme
0339d54https://github.com/python/cpython/pull/136304/commits/0339d544908326dfb5a9c0c3bb138f40b654c65f
https://github.com/python/cpython/tree/0339d544908326dfb5a9c0c3bb138f40b654c65f
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.