René's URL Explorer Experiment


Title: GH-125174: Make immortal objects more robust, following design from PEP 683 by markshannon · Pull Request #125251 · python/cpython · GitHub

Open Graph Title: GH-125174: Make immortal objects more robust, following design from PEP 683 by markshannon · Pull Request #125251 · python/cpython

X Title: GH-125174: Make immortal objects more robust, following design from PEP 683 by markshannon · Pull Request #125251 · python/cpython

Description: Issue: "Immortal" objects aren't immortal and that breaks things. #125174

Open Graph Description: Issue: "Immortal" objects aren't immortal and that breaks things. #125174

X Description: Issue: "Immortal" objects aren't immortal and that breaks things. #125174

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

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:2ad2203a-df64-105f-efcc-043ba2ab6fe1
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idD7C8:128E19:1A1008:228224:6969BDBC
html-safe-noncec4006d4bf91f10664be3d79da3ceb44244fb8a173f7f4e362781300fe5bd19ea
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEN0M4OjEyOEUxOToxQTEwMDg6MjI4MjI0OjY5NjlCREJDIiwidmlzaXRvcl9pZCI6IjIzNDU5ODQ1MTgzNTk5ODk2OTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1537d70cff497349dccb15357d5c49891249ce858c9a4782a89cf9e14b8b5221
hovercard-subject-tagpull_request:2117358009
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/125251/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1cccf84ace18887ea77bdafd0c35c5300897c22dceca1aa7d3c0191ad792035b/python/cpython/pull/125251
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1cccf84ace18887ea77bdafd0c35c5300897c22dceca1aa7d3c0191ad792035b/python/cpython/pull/125251
og:image:altIssue: "Immortal" objects aren't immortal and that breaks things. #125174
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemarkshannon
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/pull/125251#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F125251
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%2F125251
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/125251
Reloadhttps://github.com/python/cpython/pull/125251
Reloadhttps://github.com/python/cpython/pull/125251
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/125251
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/125251
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/125251#issue-comment-box
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:more-robust-immortalityhttps://github.com/faster-cpython/cpython/tree/more-robust-immortality
GH-125174: Make immortal objects more robust, following design from PEP 683 https://github.com/python/cpython/pull/125251#top
markshannonhttps://github.com/markshannon
python:mainhttps://github.com/python/cpython/tree/main
faster-cpython:more-robust-immortalityhttps://github.com/faster-cpython/cpython/tree/more-robust-immortality
Conversation 7 https://github.com/python/cpython/pull/125251
Commits 4 https://github.com/python/cpython/pull/125251/commits
Checks 0 https://github.com/python/cpython/pull/125251/checks
Files changed https://github.com/python/cpython/pull/125251/files
Please reload this pagehttps://github.com/python/cpython/pull/125251
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Oct 10, 2024https://github.com/python/cpython/pull/125251#issue-2578478856
Please reload this pagehttps://github.com/python/cpython/pull/125251
"Immortal" objects aren't immortal and that breaks things. #125174https://github.com/python/cpython/issues/125174
Please reload this pagehttps://github.com/python/cpython/pull/125251
https://github.com/markshannon
Make immortal objects more robust, following design in PEP 683https://github.com/python/cpython/pull/125251/commits/e9323343a56c5fa6e9cf66ef763c7f47edc69b59
e932334https://github.com/python/cpython/pull/125251/commits/e9323343a56c5fa6e9cf66ef763c7f47edc69b59
https://github.com/markshannon
markshannonhttps://github.com/markshannon
1st1https://github.com/1st1
asvetlovhttps://github.com/asvetlov
gvanrossumhttps://github.com/gvanrossum
kumaraditya303https://github.com/kumaraditya303
methanehttps://github.com/methane
willingchttps://github.com/willingc
code ownershttps://github.com/python/cpython/blob/f9ae5d1cee2f8927a71cd4f1f66f10050a4f658a/.github/CODEOWNERS#L20
October 10, 2024 11:00https://github.com/python/cpython/pull/125251#event-14589202812
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 10, 2024 https://github.com/python/cpython/pull/125251#ref-issue-2575317534
"Immortal" objects aren't immortal and that breaks things. #125174 https://github.com/python/cpython/issues/125174
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
Oct 10, 2024https://github.com/python/cpython/pull/125251#event-14589206892
https://github.com/markshannon
Add newshttps://github.com/python/cpython/pull/125251/commits/94f8fd046a66c40af2db572c39547adf1e943442
94f8fd0https://github.com/python/cpython/pull/125251/commits/94f8fd046a66c40af2db572c39547adf1e943442
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Oct 10, 2024https://github.com/python/cpython/pull/125251#issuecomment-2404796631
#125174https://github.com/python/cpython/issues/125174
Please reload this pagehttps://github.com/python/cpython/pull/125251
https://github.com/markshannon
markshannonhttps://github.com/markshannon
🔨 test-with-refleak-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-refleak-buildbots%22
Oct 10, 2024https://github.com/python/cpython/pull/125251#event-14589779650
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
Oct 10, 2024https://github.com/python/cpython/pull/125251#issuecomment-2404858097
@markshannonhttps://github.com/markshannon
94f8fd0https://github.com/python/cpython/commit/94f8fd046a66c40af2db572c39547adf1e943442
Please reload this pagehttps://github.com/python/cpython/pull/125251
https://github.com/bedevere-bot
bedevere-bothttps://github.com/bedevere-bot
🔨 test-with-refleak-buildbots https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22%3Ahammer%3A%20test-with-refleak-buildbots%22
Oct 10, 2024https://github.com/python/cpython/pull/125251#event-14589780145
https://github.com/markshannon
Remove last uses of _Py_IsImmortalLoosehttps://github.com/python/cpython/pull/125251/commits/9f86e463f7e3938bba4dda7ce7b0cac3fe8490d2
9f86e46https://github.com/python/cpython/pull/125251/commits/9f86e463f7e3938bba4dda7ce7b0cac3fe8490d2
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Oct 10, 2024https://github.com/python/cpython/pull/125251#issuecomment-2405158074
Please reload this pagehttps://github.com/python/cpython/pull/125251
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Oct 10, 2024https://github.com/python/cpython/pull/125251#issuecomment-2405227573
herehttps://github.com/faster-cpython/benchmarking-public/tree/main/results/bm-20241010-3.14.0a0-94f8fd0
ARM 64 darwinhttps://github.com/faster-cpython/benchmarking-public/tree/main/results/bm-20241010-3.14.0a0-94f8fd0
x86-64 linuxhttps://github.com/faster-cpython/benchmarking-public/tree/main/results/bm-20241010-3.14.0a0-94f8fd0
Please reload this pagehttps://github.com/python/cpython/pull/125251
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Oct 10, 2024 https://github.com/python/cpython/pull/125251#pullrequestreview-2360531106
View reviewed changes https://github.com/python/cpython/pull/125251/files/9f86e463f7e3938bba4dda7ce7b0cac3fe8490d2
Include/refcount.hhttps://github.com/python/cpython/pull/125251/files/9f86e463f7e3938bba4dda7ce7b0cac3fe8490d2#diff-586c6481df97b64cf94363854b92d8e896f8b969f9f160fdb69ba0eae3cdc987
Please reload this pagehttps://github.com/python/cpython/pull/125251
https://github.com/markshannon
Fixup commenthttps://github.com/python/cpython/pull/125251/commits/9c76c52ce608ac86e98b06d6c3715cd7aa3de89c
9c76c52https://github.com/python/cpython/pull/125251/commits/9c76c52ce608ac86e98b06d6c3715cd7aa3de89c
https://github.com/iritkatriel
iritkatrielhttps://github.com/iritkatriel
Oct 10, 2024 https://github.com/python/cpython/pull/125251#pullrequestreview-2360668899
View reviewed changes https://github.com/python/cpython/pull/125251/files/9c76c52ce608ac86e98b06d6c3715cd7aa3de89c
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
awaiting core review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20core%20review%22
Oct 10, 2024https://github.com/python/cpython/pull/125251#event-14593120011
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Oct 10, 2024https://github.com/python/cpython/pull/125251#issuecomment-2405411690
Windowshttps://github.com/faster-cpython/benchmarking-public/tree/main/results/bm-20241010-3.14.0a0-94f8fd0
Please reload this pagehttps://github.com/python/cpython/pull/125251
https://github.com/gvanrossum
gvanrossumhttps://github.com/gvanrossum
asvetlovhttps://github.com/asvetlov
gvanrossumhttps://github.com/gvanrossum
October 10, 2024 16:26https://github.com/python/cpython/pull/125251#event-14594292913
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Oct 10, 2024https://github.com/python/cpython/pull/125251#issuecomment-2405657287
x86-64 linux performancehttps://github.com/faster-cpython/benchmarking-public/tree/main/results/bm-20241010-3.14.0a0-9f86e46
Please reload this pagehttps://github.com/python/cpython/pull/125251
https://github.com/markshannon
markshannonhttps://github.com/markshannon
c901437https://github.com/python/cpython/commit/c9014374c50d6ef64786d3e7d9c7e99053d5c9e2
Oct 10, 2024https://github.com/python/cpython/pull/125251#event-14594897828
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting merge https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20merge%22
Oct 10, 2024https://github.com/python/cpython/pull/125251#event-14594898458
https://github.com/markshannon
markshannonhttps://github.com/markshannon
October 10, 2024 17:20https://github.com/python/cpython/pull/125251#event-14594915114
tacaswellhttps://github.com/tacaswell
Oct 24, 2024 https://github.com/python/cpython/pull/125251#ref-commit-93e131c
https://github.com/tacaswell
MNT: account for CPython 314 changeshttps://github.com/tacaswell/msgspec/commit/93e131c4f053a81a84a48195a1e38ff7adbdaaff
93e131chttps://github.com/tacaswell/msgspec/commit/93e131c4f053a81a84a48195a1e38ff7adbdaaff
python/cpython#125251https://github.com/python/cpython/pull/125251
https://github.com/tacaswell
tacaswellhttps://github.com/tacaswell
Oct 24, 2024 https://github.com/python/cpython/pull/125251#ref-pullrequest-2611619274
MNT: account for CPython 314 changes jcrist/msgspec#760 https://github.com/jcrist/msgspec/pull/760
jcristhttps://github.com/jcrist
Oct 24, 2024 https://github.com/python/cpython/pull/125251#ref-commit-f66bbbd
https://github.com/tacaswell
https://github.com/jcrist
MNT: account for CPython 314 changes (https://github.com/jcrist/msgspec/commit/f66bbbd3fa909fe41328ae52ddba473f628796c6
#760https://github.com/jcrist/msgspec/pull/760
)https://github.com/jcrist/msgspec/commit/f66bbbd3fa909fe41328ae52ddba473f628796c6
f66bbbdhttps://github.com/jcrist/msgspec/commit/f66bbbd3fa909fe41328ae52ddba473f628796c6
python/cpython#125251https://github.com/python/cpython/pull/125251
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Nov 24, 2024 https://github.com/python/cpython/pull/125251#ref-pullrequest-2680606785
gh-127119: Remove check on accidental deallocation of immortal objects for free-threaded build #127120 https://github.com/python/cpython/pull/127120
https://github.com/markshannon
markshannonhttps://github.com/markshannon
Dec 10, 2024 https://github.com/python/cpython/pull/125251#ref-pullrequest-2730521964
GH-125174: Mark objects as statically allocated. #127797 https://github.com/python/cpython/pull/127797
https://github.com/ZeroIntensity
ZeroIntensityhttps://github.com/ZeroIntensity
Jan 5, 2025 https://github.com/python/cpython/pull/125251#ref-issue-2769071430
Add an API for determining if an object is immortal #128509 https://github.com/python/cpython/issues/128509
akretzhttps://github.com/akretz
Dec 4, 2025 https://github.com/python/cpython/pull/125251#ref-commit-eb154c9
https://github.com/akretz
Python 3.14 uses _Py_IMMORTAL_INITIAL_REFCNThttps://github.com/akretz/iteration_utilities/commit/eb154c99467d942e01fd8c9a9dd23c1f2bd19c6b
eb154c9https://github.com/akretz/iteration_utilities/commit/eb154c99467d942e01fd8c9a9dd23c1f2bd19c6b
python/cpython#125251https://github.com/python/cpython/pull/125251
akretzhttps://github.com/akretz
Dec 4, 2025 https://github.com/python/cpython/pull/125251#ref-commit-5f3f81c
https://github.com/akretz
Python 3.14 uses _Py_IMMORTAL_INITIAL_REFCNThttps://github.com/akretz/iteration_utilities/commit/5f3f81c18579455a67dfcf0171166b453b48ba74
5f3f81chttps://github.com/akretz/iteration_utilities/commit/5f3f81c18579455a67dfcf0171166b453b48ba74
python/cpython#125251https://github.com/python/cpython/pull/125251
https://github.com/akretz
akretzhttps://github.com/akretz
Dec 4, 2025 https://github.com/python/cpython/pull/125251#ref-pullrequest-3696944724
Python 3.14 MSeifert04/iteration_utilities#347 https://github.com/MSeifert04/iteration_utilities/pull/347
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%2F125251
https://github.com/iritkatriel
iritkatriel https://github.com/iritkatriel
https://github.com/python/cpython/pull/125251/files/9c76c52ce608ac86e98b06d6c3715cd7aa3de89c
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
https://github.com/methane
methane https://github.com/methane
https://github.com/1st1
1st1 https://github.com/1st1
https://github.com/willingc
willingc https://github.com/willingc
Please reload this pagehttps://github.com/python/cpython/pull/125251
https://github.com/markshannon
https://github.com/bedevere-bot
https://github.com/iritkatriel
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.