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 clears it before finishing the module. The module should be cleared first, bypassing the GC once. Issue: gh-132413

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/:user_id/:repository/pull/:id/checks(.:format)
route-controllerpull_requests
route-actionchecks
fetch-noncev2:7fcd45b1-3ca9-6c19-41df-fde77bd3ac8e
current-catalog-service-hash87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a
request-idC8F6:13E105:BFD1:FD36:696B56E6
html-safe-nonce94fa205e608b5e7da1dcec4a484921f0ec2938c48f66bed96cf1833f8511db80
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOEY2OjEzRTEwNTpCRkQxOkZEMzY6Njk2QjU2RTYiLCJ2aXNpdG9yX2lkIjoiMTM5OTc3NzMyNDM5ODQ5OTU1OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacfd4b5784a21adc16354a6beb4f87aba8ad43a54821cda4540df86204d4a9f397
hovercard-subject-tagpull_request:2630325241
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/checks
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/136152/checks
twitter:imagehttps://avatars.githubusercontent.com/u/53406459?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/53406459?s=400&v=4
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:site_nameGitHub
og:typeobject
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 full-width full-width-p-0
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/checks#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F136152%2Fchecks
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%2Fchecks
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%2Fchecks&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/136152/checks
Reloadhttps://github.com/python/cpython/pull/136152/checks
Reloadhttps://github.com/python/cpython/pull/136152/checks
python https://github.com/python
cpythonhttps://github.com/python/cpython
Please reload this pagehttps://github.com/python/cpython/pull/136152/checks
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/checks
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
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/checks
Please reload this pagehttps://github.com/python/cpython/pull/136152/checks
Sign in for the full log viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F136152%2Fchecks
gh-132413: Clear weakref to _datetime after modules are finalized https://github.com/python/cpython/pull/136152/checks#top
Please reload this pagehttps://github.com/python/cpython/pull/136152/checks
Check labels on: pull_request https://github.com/python/cpython/actions/runs/16146237793
DO-NOT-MERGE https://github.com/python/cpython/actions/runs/16146237793/job/45565718454?pr=136152
Unresolved review https://github.com/python/cpython/actions/runs/16146237793/job/45565718485?pr=136152
Tests on: pull_request https://github.com/python/cpython/actions/runs/16146237801
Change detection / Create context from changed files https://github.com/python/cpython/actions/runs/16146237801/job/45565719485?pr=136152
Docs / Docs https://github.com/python/cpython/actions/runs/16146237801/job/45565790346?pr=136152
Docs / Doctest https://github.com/python/cpython/actions/runs/16146237801/job/45565790363?pr=136152
Check if Autoconf files are up to date https://github.com/python/cpython/actions/runs/16146237801/job/45565789286?pr=136152
Check if generated files are up to date https://github.com/python/cpython/actions/runs/16146237801/job/45565789308?pr=136152
Windows / Build and test (x64) https://github.com/python/cpython/actions/runs/16146237801/job/45565789876?pr=136152
Windows (free-threading) / Build and test (x64) https://github.com/python/cpython/actions/runs/16146237801/job/45565789873?pr=136152
Windows / Build and test (Win32) https://github.com/python/cpython/actions/runs/16146237801/job/45565789911?pr=136152
Windows / Build and test (arm64) https://github.com/python/cpython/actions/runs/16146237801/job/45565789820?pr=136152
Windows (free-threading) / Build and test (arm64) https://github.com/python/cpython/actions/runs/16146237801/job/45565789807?pr=136152
Windows MSI${{ '' }} https://github.com/python/cpython/actions/runs/16146237801/job/45565789341?pr=136152
macOS / build and test (ghcr.io/cirruslabs/macos-runner:sonoma) https://github.com/python/cpython/actions/runs/16146237801/job/45565790197?pr=136152
macOS (free-threading) / build and test (ghcr.io/cirruslabs/macos-runner:sonoma) https://github.com/python/cpython/actions/runs/16146237801/job/45565790235?pr=136152
macOS / build and test (macos-13) https://github.com/python/cpython/actions/runs/16146237801/job/45565790180?pr=136152
Ubuntu / build and test (ubuntu-24.04) https://github.com/python/cpython/actions/runs/16146237801/job/45565790117?pr=136152
Ubuntu / build and test (ubuntu-24.04-arm) https://github.com/python/cpython/actions/runs/16146237801/job/45565790204?pr=136152
Ubuntu (free-threading) / build and test (ubuntu-24.04) https://github.com/python/cpython/actions/runs/16146237801/job/45565790064?pr=136152
Ubuntu (free-threading) / build and test (ubuntu-24.04-arm) https://github.com/python/cpython/actions/runs/16146237801/job/45565790255?pr=136152
Ubuntu (bolt) / build and test (ubuntu-24.04) https://github.com/python/cpython/actions/runs/16146237801/job/45565790167?pr=136152
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.0.16) https://github.com/python/cpython/actions/runs/16146237801/job/45565789504?pr=136152
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.1.8) https://github.com/python/cpython/actions/runs/16146237801/job/45565789543?pr=136152
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.2.4) https://github.com/python/cpython/actions/runs/16146237801/job/45565789567?pr=136152
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.3.3) https://github.com/python/cpython/actions/runs/16146237801/job/45565789542?pr=136152
Ubuntu SSL tests with OpenSSL (ubuntu-24.04, 3.4.1) https://github.com/python/cpython/actions/runs/16146237801/job/45565789547?pr=136152
WASI / build and test https://github.com/python/cpython/actions/runs/16146237801/job/45565789759?pr=136152
Hypothesis tests on Ubuntu https://github.com/python/cpython/actions/runs/16146237801/job/45565789476?pr=136152
Address sanitizer (ubuntu-24.04) https://github.com/python/cpython/actions/runs/16146237801/job/45565789458?pr=136152
Thread sanitizer / Thread sanitizer https://github.com/python/cpython/actions/runs/16146237801/job/45565790125?pr=136152
Thread sanitizer (free-threading) / Thread sanitizer https://github.com/python/cpython/actions/runs/16146237801/job/45565790259?pr=136152
Undefined behavior sanitizer / Undefined behavior sanitizer https://github.com/python/cpython/actions/runs/16146237801/job/45565789776?pr=136152
Cross build Linux https://github.com/python/cpython/actions/runs/16146237801/job/45565789507?pr=136152
CIFuzz https://github.com/python/cpython/actions/runs/16146237801/job/45565789570?pr=136152
All required checks pass https://github.com/python/cpython/actions/runs/16146237801/job/45567872846?pr=136152
Lint on: pull_request https://github.com/python/cpython/actions/runs/16146237824
lint https://github.com/python/cpython/actions/runs/16146237824/job/45565718473?pr=136152
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.