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.114.3

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/_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:6a22895e-7754-18df-5369-a3583881cd7c
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idBE04:804E:141C292:1A9C660:6B06616A
html-safe-nonce753882925fdf1df9c631b67c352acfeb17648193cb13720537320c5ce0a0c411
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRTA0OjgwNEU6MTQxQzI5MjoxQTlDNjYwOjZCMDY2MTZBIiwidmlzaXRvcl9pZCI6IjMzNDA1MjYxNzQ3ODYxODM1MzEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacf7c608e3725b809c3c095c3aaab54c3c87c62c695089ca71240244d50220a8e8
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///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/124965/pull_request_layout
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
None6324e6ac990fb6befbec840cc0e102a1071c339bfe8f9826bb12de2e3ba1d297
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
release7f0aa75f4141d440c6110dc31af7ea7797abb6c4
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/124965#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F124965
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
Sign uphttps://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/124965
Reloadhttps://github.com/python/cpython/pull/124965
Reloadhttps://github.com/python/cpython/pull/124965
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#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
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Oct 4, 2024https://github.com/python/cpython/pull/124965#issue-2566014209
Please reload this pagehttps://github.com/python/cpython/pull/124965
Refactorization of _cursesmodule.c to fix reference leaks #123961https://github.com/python/cpython/issues/123961
Please reload this pagehttps://github.com/python/cpython/pull/124965
picnixzhttps://github.com/picnixz
October 4, 2024 12:15https://github.com/python/cpython/pull/124965#commits-pushed-90f78bb
https://github.com/picnixz
Convert _curses into a PEP-489 module.https://github.com/python/cpython/pull/124965/commits/90f78bbb11247db54d56772c806b631c1a3bee7a
90f78bbhttps://github.com/python/cpython/pull/124965/commits/90f78bbb11247db54d56772c806b631c1a3bee7a
https://github.com/picnixz
blurbhttps://github.com/python/cpython/pull/124965/commits/a0fdf54d4ef69b0b7aeb2e32cb4c68e2c12297ee
a0fdf54https://github.com/python/cpython/pull/124965/commits/a0fdf54d4ef69b0b7aeb2e32cb4c68e2c12297ee
https://github.com/picnixz
remove global variables suppressionhttps://github.com/python/cpython/pull/124965/commits/4b19c4cc1b549e9b7cc22b5b60c236d988eb1ba7
4b19c4chttps://github.com/python/cpython/pull/124965/commits/4b19c4cc1b549e9b7cc22b5b60c236d988eb1ba7
https://github.com/picnixz
picnixzhttps://github.com/picnixz
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
code ownerhttps://github.com/python/cpython/blob/2c2ad4f76f8ec197c31145d3f33bc40b790d4aea/.github/CODEOWNERS#L51
October 4, 2024 10:18https://github.com/python/cpython/pull/124965#event-14517000731
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
Oct 4, 2024https://github.com/python/cpython/pull/124965#event-14517001597
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Oct 4, 2024 https://github.com/python/cpython/pull/124965#ref-issue-2520131951
Refactorization of _cursesmodule.c to fix reference leaks #123961 https://github.com/python/cpython/issues/123961
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Eclips4https://github.com/Eclips4
vstinnerhttps://github.com/vstinner
ericsnowcurrentlyhttps://github.com/ericsnowcurrently
October 4, 2024 10:18https://github.com/python/cpython/pull/124965#event-14517002822
https://github.com/picnixz
Change _cursesmodule prefix into cursesmodule.https://github.com/python/cpython/pull/124965/commits/52396b208855fe0d02e40968836009ba8d263bc7
52396b2https://github.com/python/cpython/pull/124965/commits/52396b208855fe0d02e40968836009ba8d263bc7
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Oct 4, 2024https://github.com/python/cpython/pull/124965#issuecomment-2393373880
Please reload this pagehttps://github.com/python/cpython/pull/124965
https://github.com/picnixz
use an anonymous structurehttps://github.com/python/cpython/pull/124965/commits/b7337a7b4adba2d90d34f193cf6663aca7bd5000
b7337a7https://github.com/python/cpython/pull/124965/commits/b7337a7b4adba2d90d34f193cf6663aca7bd5000
https://github.com/picnixz
picnixzhttps://github.com/picnixz
October 4, 2024 10:35https://github.com/python/cpython/pull/124965#event-14517194560
https://github.com/picnixz
Sign in to viewhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F124965
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
Oct 4, 2024https://github.com/python/cpython/pull/124965#event-14517195006
https://github.com/picnixz
fix free-threaded buildshttps://github.com/python/cpython/pull/124965/commits/9e0dd702401a1e580c74179f2e5595f52ea6d2bc
9e0dd70https://github.com/python/cpython/pull/124965/commits/9e0dd702401a1e580c74179f2e5595f52ea6d2bc
https://github.com/picnixz
picnixzhttps://github.com/picnixz
October 4, 2024 11:28https://github.com/python/cpython/pull/124965#event-14517779697
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
Oct 4, 2024https://github.com/python/cpython/pull/124965#event-14517780252
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Oct 4, 2024https://github.com/python/cpython/pull/124965#issuecomment-2393516199
9e0dd70https://github.com/python/cpython/commit/9e0dd702401a1e580c74179f2e5595f52ea6d2bc
@colesburyhttps://github.com/colesbury
Please reload this pagehttps://github.com/python/cpython/pull/124965
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 4, 2024 https://github.com/python/cpython/pull/124965#pullrequestreview-2347998404
View reviewed changes https://github.com/python/cpython/pull/124965/files/9e0dd702401a1e580c74179f2e5595f52ea6d2bc
Modules/_cursesmodule.chttps://github.com/python/cpython/pull/124965/files/9e0dd702401a1e580c74179f2e5595f52ea6d2bc#diff-f77a12c8531c26a47799058e7b02fd9b43753a458b5ed1cefc6693685aa098ce
Please reload this pagehttps://github.com/python/cpython/pull/124965
Modules/_cursesmodule.chttps://github.com/python/cpython/pull/124965/files/9e0dd702401a1e580c74179f2e5595f52ea6d2bc#diff-f77a12c8531c26a47799058e7b02fd9b43753a458b5ed1cefc6693685aa098ce
Please reload this pagehttps://github.com/python/cpython/pull/124965
https://github.com/picnixz
un-comment asserthttps://github.com/python/cpython/pull/124965/commits/72a89dff39c80dafa41c564c018fa9ded9d64724
72a89dfhttps://github.com/python/cpython/pull/124965/commits/72a89dff39c80dafa41c564c018fa9ded9d64724
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 7, 2024 https://github.com/python/cpython/pull/124965#pullrequestreview-2351776541
View reviewed changes https://github.com/python/cpython/pull/124965/files/72a89dff39c80dafa41c564c018fa9ded9d64724
vstinnerhttps://github.com/vstinner
https://github.com/python/cpython/pull/124965#pullrequestreview-2351776541
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/python/cpython/pull/124965
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Oct 7, 2024https://github.com/python/cpython/pull/124965#issuecomment-2397039797
Please reload this pagehttps://github.com/python/cpython/pull/124965
Please reload this pagehttps://github.com/python/cpython/pull/124965
https://github.com/picnixz
disallow the curses to be loaded more than once per processhttps://github.com/python/cpython/pull/124965/commits/8a376734340eabce9f19ba1836f039f76c0d1f9f
8a37673https://github.com/python/cpython/pull/124965/commits/8a376734340eabce9f19ba1836f039f76c0d1f9f
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 7, 2024https://github.com/python/cpython/pull/124965#issuecomment-2397184718
Please reload this pagehttps://github.com/python/cpython/pull/124965
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 7, 2024 https://github.com/python/cpython/pull/124965#pullrequestreview-2352225637
View reviewed changes https://github.com/python/cpython/pull/124965/files/8a376734340eabce9f19ba1836f039f76c0d1f9f
Modules/_cursesmodule.chttps://github.com/python/cpython/pull/124965/files/8a376734340eabce9f19ba1836f039f76c0d1f9f#diff-f77a12c8531c26a47799058e7b02fd9b43753a458b5ed1cefc6693685aa098ce
Please reload this pagehttps://github.com/python/cpython/pull/124965
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Oct 8, 2024https://github.com/python/cpython/pull/124965#issuecomment-2399312016
Please reload this pagehttps://github.com/python/cpython/pull/124965
https://github.com/picnixz
remove un-necessary member initializationhttps://github.com/python/cpython/pull/124965/commits/077b195caedfd1a8152a1c67aea829e7737fa48a
077b195https://github.com/python/cpython/pull/124965/commits/077b195caedfd1a8152a1c67aea829e7737fa48a
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 8, 2024https://github.com/python/cpython/pull/124965#issuecomment-2399499093
scripthttps://github.com/python/cpython/pull/124965#issuecomment-2397184718
Please reload this pagehttps://github.com/python/cpython/pull/124965
https://github.com/picnixz
allow reloading if garbage collectedhttps://github.com/python/cpython/pull/124965/commits/c3263ab40917af9cfa31bb2ed8994883306801d8
c3263abhttps://github.com/python/cpython/pull/124965/commits/c3263ab40917af9cfa31bb2ed8994883306801d8
https://github.com/picnixz
picnixzhttps://github.com/picnixz
Oct 8, 2024https://github.com/python/cpython/pull/124965#issuecomment-2399523499
Please reload this pagehttps://github.com/python/cpython/pull/124965
Please reload this pagehttps://github.com/python/cpython/pull/124965
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
e4292c0https://github.com/python/cpython/commit/e4292c041018dd9e831e541b515fec1119f92690
Oct 8, 2024https://github.com/python/cpython/pull/124965#event-14555308417
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
Oct 8, 2024https://github.com/python/cpython/pull/124965#event-14555309094
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 8, 2024https://github.com/python/cpython/pull/124965#issuecomment-2399614291
Please reload this pagehttps://github.com/python/cpython/pull/124965
https://github.com/vstinner
vstinnerhttps://github.com/vstinner
Oct 8, 2024https://github.com/python/cpython/pull/124965#issuecomment-2399618977
Please reload this pagehttps://github.com/python/cpython/pull/124965
https://github.com/picnixz
picnixzhttps://github.com/picnixz
October 8, 2024 11:50https://github.com/python/cpython/pull/124965#event-14555415559
efimov-mikhailhttps://github.com/efimov-mikhail
Oct 9, 2024 https://github.com/python/cpython/pull/124965#ref-commit-c4812df
https://github.com/picnixz
https://github.com/efimov-mikhail
pythongh-123961https://github.com/python/cpython/issues/123961
: Convert _curses to a multi-phase init module (PEP-48…https://github.com/efimov-mikhail/cpython/commit/c4812df2f7aeed89b2622e5c50907571883a2a9c
c4812dfhttps://github.com/efimov-mikhail/cpython/commit/c4812df2f7aeed89b2622e5c50907571883a2a9c
python#124965https://github.com/python/cpython/pull/124965
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
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%2F124965
https://github.com/vstinner
vstinner https://github.com/vstinner
https://github.com/python/cpython/pull/124965/files/8a376734340eabce9f19ba1836f039f76c0d1f9f
https://github.com/Eclips4
Eclips4 https://github.com/Eclips4
Please reload this pagehttps://github.com/python/cpython/pull/124965
Please reload this pagehttps://github.com/python/cpython/pull/124965
https://github.com/picnixz
https://github.com/vstinner
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.