René's URL Explorer Experiment


Title: gh-132413: Clear weakref to _datetime after modules are finalized by neonene · Pull Request #136152 · python/cpython · GitHub

Open Graph Title: gh-132413: Clear weakref to _datetime after modules are finalized by neonene · Pull Request #136152 · python/cpython

X Title: gh-132413: Clear weakref to _datetime after modules are finalized by neonene · Pull Request #136152 · python/cpython

Description: The _datetime module has a weakref to the module itself, which is expected to be connected all its life. However, finalize_remove_modules() in pylifecycle.c shares the same weakref, then the GC cl...

Open Graph Description: The _datetime module has a weakref to the module itself, which is expected to be connected all its life. However, finalize_remove_modules() in pylifecycle.c shares the same weakref, then the GC cl...

X Description: The _datetime module has a weakref to the module itself, which is expected to be connected all its life. However, finalize_remove_modules() in pylifecycle.c shares the same weakref, then the GC cl...

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

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:7fa53560-6693-75d0-28d3-5498b5f10c07
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id96B2:2E5741:1B8700:239238:696B37C6
html-safe-nonce27b9524bfe0092e1dd65bbcb48ac13ac036f5b4a8590b096f3a0f9403948dda7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NkIyOjJFNTc0MToxQjg3MDA6MjM5MjM4OjY5NkIzN0M2IiwidmlzaXRvcl9pZCI6IjY3NTU1MjI0MjM2NTU3NzE1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7df8ce62007523aeddc922d6691f85369b14875fbc6765844ea248624d4795e9
hovercard-subject-tagpull_request:2630325241
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/136152/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/ccd428c0202fff61fbffb82593ed7a72eaa92055b4aa1f8b833354371c7ac8b4/python/cpython/pull/136152
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ccd428c0202fff61fbffb82593ed7a72eaa92055b4aa1f8b833354371c7ac8b4/python/cpython/pull/136152
og:image:altThe _datetime module has a weakref to the module itself, which is expected to be connected all its life. However, finalize_remove_modules() in pylifecycle.c shares the same weakref, then the GC cl...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameneonene
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
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
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/136152#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F136152
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%2F136152
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/136152
Reloadhttps://github.com/python/cpython/pull/136152
Reloadhttps://github.com/python/cpython/pull/136152
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/136152
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/136152
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/136152#issue-comment-box
neonenehttps://github.com/neonene
python:mainhttps://github.com/python/cpython/tree/main
neonene:wr-132413https://github.com/neonene/cpython/tree/wr-132413
gh-132413: Clear weakref to _datetime after modules are finalized https://github.com/python/cpython/pull/136152#top
neonenehttps://github.com/neonene
python:mainhttps://github.com/python/cpython/tree/main
neonene:wr-132413https://github.com/neonene/cpython/tree/wr-132413
Conversation 1 https://github.com/python/cpython/pull/136152
Commits 13 https://github.com/python/cpython/pull/136152/commits
Checks 36 https://github.com/python/cpython/pull/136152/checks
Files changed https://github.com/python/cpython/pull/136152/files
Please reload this pagehttps://github.com/python/cpython/pull/136152
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
https://github.com/neonene
neonenehttps://github.com/neonene
Jun 30, 2025https://github.com/python/cpython/pull/136152#issue-3190064479
Please reload this pagehttps://github.com/python/cpython/pull/136152
SIGSEV in datetime.timedelta (possibly from datetime's C delta_new) #132413https://github.com/python/cpython/issues/132413
Please reload this pagehttps://github.com/python/cpython/pull/136152
neonenehttps://github.com/neonene
July 1, 2025 06:12https://github.com/python/cpython/pull/136152#commits-pushed-ff10134
https://github.com/neonene
NEWShttps://github.com/python/cpython/pull/136152/commits/ff101340979ca6f668a12e8ad8754fe44b78a626
ff10134https://github.com/python/cpython/pull/136152/commits/ff101340979ca6f668a12e8ad8754fe44b78a626
https://github.com/neonene
Add testhttps://github.com/python/cpython/pull/136152/commits/4f83cb00dd83b10090ed0611db2d15a0486ba40d
4f83cb0https://github.com/python/cpython/pull/136152/commits/4f83cb00dd83b10090ed0611db2d15a0486ba40d
https://github.com/neonene
Avoid weakref being cleared by GChttps://github.com/python/cpython/pull/136152/commits/4e83b5b3e302b635120d47d09f8119ce6f8b9a2b
4e83b5bhttps://github.com/python/cpython/pull/136152/commits/4e83b5b3e302b635120d47d09f8119ce6f8b9a2b
https://github.com/neonene
neonenehttps://github.com/neonene
ZeroIntensityhttps://github.com/ZeroIntensity
abalkinhttps://github.com/abalkin
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
pgansslehttps://github.com/pganssle
code ownershttps://github.com/python/cpython/blob/23caccf74ce2c8dc5d9c5eb6350d21ef20c6ea0b/.github/CODEOWNERS#L71
June 30, 2025 22:39https://github.com/python/cpython/pull/136152#event-18396161548
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
Jun 30, 2025https://github.com/python/cpython/pull/136152#event-18396162072
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Jun 30, 2025 https://github.com/python/cpython/pull/136152#ref-issue-2989247540
SIGSEV in datetime.timedelta (possibly from datetime's C delta_new) #132413 https://github.com/python/cpython/issues/132413
https://github.com/neonene
neonenehttps://github.com/neonene
June 30, 2025 23:10https://github.com/python/cpython/pull/136152#event-18396543541
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
Jun 30, 2025https://github.com/python/cpython/pull/136152#event-18396544893
neonenehttps://github.com/neonene
July 1, 2025 09:23https://github.com/python/cpython/pull/136152#commits-pushed-c4b1c62
https://github.com/neonene
Do not hold module in tuplehttps://github.com/python/cpython/pull/136152/commits/c4b1c62ea0dadc164097943c86c6e46181901335
c4b1c62https://github.com/python/cpython/pull/136152/commits/c4b1c62ea0dadc164097943c86c6e46181901335
https://github.com/neonene
GC-untrack/trackhttps://github.com/python/cpython/pull/136152/commits/4b1b45c44da356fa36585814e4b58d8d44c8a75b
4b1b45chttps://github.com/python/cpython/pull/136152/commits/4b1b45c44da356fa36585814e4b58d8d44c8a75b
https://github.com/neonene
Merge branch 'main' into wr-132413https://github.com/python/cpython/pull/136152/commits/c5a2f41b2c91204333d7621c3880443a023cd861
c5a2f41https://github.com/python/cpython/pull/136152/commits/c5a2f41b2c91204333d7621c3880443a023cd861
https://github.com/neonene
Sort weaklisthttps://github.com/python/cpython/pull/136152/commits/e33f704cde0c6eddf664fd2d32ad7d2ca255e3f4
e33f704https://github.com/python/cpython/pull/136152/commits/e33f704cde0c6eddf664fd2d32ad7d2ca255e3f4
https://github.com/neonene
Add non-NULL checkhttps://github.com/python/cpython/pull/136152/commits/263bdb2f94e32a3b1dcd006bc87839fbbbac8df5
263bdb2https://github.com/python/cpython/pull/136152/commits/263bdb2f94e32a3b1dcd006bc87839fbbbac8df5
https://github.com/neonene
Simply do not GC-untrack/trackhttps://github.com/python/cpython/pull/136152/commits/fdfadf0b79d9651d9d8213bd8ad08f786809f8ba
fdfadf0https://github.com/python/cpython/pull/136152/commits/fdfadf0b79d9651d9d8213bd8ad08f786809f8ba
https://github.com/neonene
Add a missing NULL checkhttps://github.com/python/cpython/pull/136152/commits/26c6425a431d5d19a54f90478c89ce02c11793be
26c6425https://github.com/python/cpython/pull/136152/commits/26c6425a431d5d19a54f90478c89ce02c11793be
https://github.com/neonene
neonenehttps://github.com/neonene
July 1, 2025 20:00https://github.com/python/cpython/pull/136152#event-18418290730
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
Jul 1, 2025https://github.com/python/cpython/pull/136152#event-18418291511
https://github.com/neonene
Merge branch 'main' into wr-132413https://github.com/python/cpython/pull/136152/commits/4807c36bb1371098af3568c42633207ea29f5740
4807c36https://github.com/python/cpython/pull/136152/commits/4807c36bb1371098af3568c42633207ea29f5740
https://github.com/neonene
neonenehttps://github.com/neonene
Jul 1, 2025https://github.com/python/cpython/pull/136152#issuecomment-3025496150
Please reload this pagehttps://github.com/python/cpython/pull/136152
A fundamental fixhttps://github.com/python/cpython/pull/136189
Please reload this pagehttps://github.com/python/cpython/pull/136152
https://github.com/neonene
neonenehttps://github.com/neonene
July 2, 2025 18:54https://github.com/python/cpython/pull/136152#event-18438032626
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
Jul 2, 2025https://github.com/python/cpython/pull/136152#event-18438033211
https://github.com/neonene
move test to test_gc.pyhttps://github.com/python/cpython/pull/136152/commits/a5f2521e86fbe7a829cea0dad02b37b97aeb0eeb
a5f2521https://github.com/python/cpython/pull/136152/commits/a5f2521e86fbe7a829cea0dad02b37b97aeb0eeb
https://github.com/StanFromIreland
StanFromIrelandhttps://github.com/StanFromIreland
Jul 5, 2025 https://github.com/python/cpython/pull/136152#ref-pullrequest-3205311157
gh-132413: Check if datetime current state is not NULL #136321 https://github.com/python/cpython/pull/136321
https://github.com/neonene
add and move test casehttps://github.com/python/cpython/pull/136152/commits/d7c36b960c675e5772f8cc00f167c71de4fa4f2d
d7c36b9https://github.com/python/cpython/pull/136152/commits/d7c36b960c675e5772f8cc00f167c71de4fa4f2d
https://github.com/neonene
neonenehttps://github.com/neonene
Jul 9, 2025https://github.com/python/cpython/pull/136152#event-18541268226
https://github.com/neonene
neonenehttps://github.com/neonene
Aug 10, 2025https://github.com/python/cpython/pull/136152#event-19077785294
https://github.com/neonene
neonenehttps://github.com/neonene
August 10, 2025 21:41https://github.com/python/cpython/pull/136152#event-19077786679
https://github.com/neonene
neonenehttps://github.com/neonene
August 10, 2025 21:43https://github.com/python/cpython/pull/136152#event-19077790364
https://github.com/neonene
neonenehttps://github.com/neonene
August 10, 2025 21:46https://github.com/python/cpython/pull/136152#event-19077800622
https://github.com/neonene
neonenehttps://github.com/neonene
August 10, 2025 21:47https://github.com/python/cpython/pull/136152#event-19077802827
https://github.com/neonene
neonenehttps://github.com/neonene
Aug 10, 2025https://github.com/python/cpython/pull/136152#event-19077803551
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%2F136152
https://github.com/pganssle
pganssle https://github.com/pganssle
https://github.com/abalkin
abalkin https://github.com/abalkin
https://github.com/ericsnowcurrently
ericsnowcurrently https://github.com/ericsnowcurrently
https://github.com/ZeroIntensity
ZeroIntensity https://github.com/ZeroIntensity
https://github.com/kumaraditya303
kumaraditya303 https://github.com/kumaraditya303
Please reload this pagehttps://github.com/python/cpython/pull/136152
https://github.com/neonene
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.