René's URL Explorer Experiment


Title: gh-123961: convert `curses` to a multi-phase initialization module (PEP-489) by picnixz · Pull Request #124965 · python/cpython · GitHub

Open Graph Title: gh-123961: convert `curses` to a multi-phase initialization module (PEP-489) by picnixz · Pull Request #124965 · python/cpython

X Title: gh-123961: convert `curses` to a multi-phase initialization module (PEP-489) by picnixz · Pull Request #124965 · python/cpython

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

Open Graph Description: I think this is the very last PR for this task, conditioned to some final cleanups just for macro readability and comments. Issue: Refactorization of _cursesmodule.c to fix reference leaks #123961

X Description: I think this is the very last PR for this task, conditioned to some final cleanups just for macro readability and comments. Issue: Refactorization of _cursesmodule.c to fix reference leaks #123961

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/:user_id/:repository/pull/:id/commits(.:format)
route-controllerpull_requests
route-actioncommits
fetch-noncev2:1ce058aa-5403-836f-3b16-e5bab989d6ee
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDDDA:7F906:19DBC9B:220E871:6B067BF1
html-safe-noncea686b000ab806d4bf7f35bcd62175c508900413ef16110f5f2a7d00e1e055870
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERERBOjdGOTA2OjE5REJDOUI6MjIwRTg3MTo2QjA2N0JGMSIsInZpc2l0b3JfaWQiOiIxNzYzMjI3MTI5Mjc5MzE0OTI5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac03e1f337712ccaed6d2f62675f03759f9410e1702af9a97fe41a1a8657cf34ee
hovercard-subject-tagpull_request:2107266775
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/124965/commits
twitter:imagehttps://opengraph.githubassets.com/94cb5313b25495d3b9535608c725c9cb6b26a99487f7f2dc69984f102a3f2bed/python/cpython/pull/124965
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/94cb5313b25495d3b9535608c725c9cb6b26a99487f7f2dc69984f102a3f2bed/python/cpython/pull/124965
og:image:altI think this is the very last PR for this task, conditioned to some final cleanups just for macro readability and comments. Issue: Refactorization of _cursesmodule.c to fix reference leaks #123961
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepicnixz
hostnamegithub.com
expected-hostnamegithub.com
None4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a
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
release6d3909414814ff86ce7da4c51a0f4918a13fb41b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/124965/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F124965%2Fcommits
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F124965%2Fcommits
Sign uphttps://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/124965/commits
Reloadhttps://github.com/python/cpython/pull/124965/commits
Reloadhttps://github.com/python/cpython/pull/124965/commits
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
https://github.com/python/cpython
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
picnixz:curses/pep-489-123961https://github.com/picnixz/cpython/tree/curses/pep-489-123961
Conversationhttps://github.com/python/cpython/pull/124965
Commits10 (10)https://github.com/python/cpython/pull/124965/commits
Checkshttps://github.com/python/cpython/pull/124965/checks
Files changedhttps://github.com/python/cpython/pull/124965/files
gh-123961: convert curses to a multi-phase initialization module (PEP-489)https://github.com/python/cpython/pull/124965/commits#top
vstinnerhttps://github.com/vstinner
python:mainhttps://github.com/python/cpython/tree/main
picnixz:curses/pep-489-123961https://github.com/picnixz/cpython/tree/curses/pep-489-123961
Convert `_curses` into a PEP-489 module.https://github.com/python/cpython/pull/124965/commits/90f78bbb11247db54d56772c806b631c1a3bee7a
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
90f78bbhttps://github.com/python/cpython/pull/124965/commits/90f78bbb11247db54d56772c806b631c1a3bee7a
https://github.com/python/cpython/tree/90f78bbb11247db54d56772c806b631c1a3bee7a
blurbhttps://github.com/python/cpython/pull/124965/commits/a0fdf54d4ef69b0b7aeb2e32cb4c68e2c12297ee
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
a0fdf54https://github.com/python/cpython/pull/124965/commits/a0fdf54d4ef69b0b7aeb2e32cb4c68e2c12297ee
https://github.com/python/cpython/tree/a0fdf54d4ef69b0b7aeb2e32cb4c68e2c12297ee
remove global variables suppressionhttps://github.com/python/cpython/pull/124965/commits/4b19c4cc1b549e9b7cc22b5b60c236d988eb1ba7
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
4b19c4chttps://github.com/python/cpython/pull/124965/commits/4b19c4cc1b549e9b7cc22b5b60c236d988eb1ba7
https://github.com/python/cpython/tree/4b19c4cc1b549e9b7cc22b5b60c236d988eb1ba7
Change `_cursesmodule` prefix into `cursesmodule`.https://github.com/python/cpython/pull/124965/commits/52396b208855fe0d02e40968836009ba8d263bc7
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
52396b2https://github.com/python/cpython/pull/124965/commits/52396b208855fe0d02e40968836009ba8d263bc7
https://github.com/python/cpython/tree/52396b208855fe0d02e40968836009ba8d263bc7
use an anonymous structurehttps://github.com/python/cpython/pull/124965/commits/b7337a7b4adba2d90d34f193cf6663aca7bd5000
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
b7337a7https://github.com/python/cpython/pull/124965/commits/b7337a7b4adba2d90d34f193cf6663aca7bd5000
https://github.com/python/cpython/tree/b7337a7b4adba2d90d34f193cf6663aca7bd5000
fix free-threaded buildshttps://github.com/python/cpython/pull/124965/commits/9e0dd702401a1e580c74179f2e5595f52ea6d2bc
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
9e0dd70https://github.com/python/cpython/pull/124965/commits/9e0dd702401a1e580c74179f2e5595f52ea6d2bc
https://github.com/python/cpython/tree/9e0dd702401a1e580c74179f2e5595f52ea6d2bc
un-comment `assert`https://github.com/python/cpython/pull/124965/commits/72a89dff39c80dafa41c564c018fa9ded9d64724
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
72a89dfhttps://github.com/python/cpython/pull/124965/commits/72a89dff39c80dafa41c564c018fa9ded9d64724
https://github.com/python/cpython/tree/72a89dff39c80dafa41c564c018fa9ded9d64724
disallow the `curses` to be loaded more than once per processhttps://github.com/python/cpython/pull/124965/commits/8a376734340eabce9f19ba1836f039f76c0d1f9f
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
8a37673https://github.com/python/cpython/pull/124965/commits/8a376734340eabce9f19ba1836f039f76c0d1f9f
https://github.com/python/cpython/tree/8a376734340eabce9f19ba1836f039f76c0d1f9f
remove un-necessary member initializationhttps://github.com/python/cpython/pull/124965/commits/077b195caedfd1a8152a1c67aea829e7737fa48a
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
077b195https://github.com/python/cpython/pull/124965/commits/077b195caedfd1a8152a1c67aea829e7737fa48a
https://github.com/python/cpython/tree/077b195caedfd1a8152a1c67aea829e7737fa48a
allow reloading if garbage collectedhttps://github.com/python/cpython/pull/124965/commits/c3263ab40917af9cfa31bb2ed8994883306801d8
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
c3263abhttps://github.com/python/cpython/pull/124965/commits/c3263ab40917af9cfa31bb2ed8994883306801d8
https://github.com/python/cpython/tree/c3263ab40917af9cfa31bb2ed8994883306801d8
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.