René's URL Explorer Experiment


Title: gh-123290: curses: fix reference leaks in error-branches and cleanup module's initialization by picnixz · Pull Request #123910 · python/cpython · GitHub

Open Graph Title: gh-123290: curses: fix reference leaks in error-branches and cleanup module's initialization by picnixz · Pull Request #123910 · python/cpython

X Title: gh-123290: curses: fix reference leaks in error-branches and cleanup module's initialization by picnixz · Pull Request #123910 · python/cpython

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

Open Graph Description: In this PR, we prepare the cursesmodule for #123630 and clean-up some bits. To that end, we: ensure that error branches correctly free resources (even if the error is usually "critical",...

X Description: In this PR, we prepare the cursesmodule for #123630 and clean-up some bits. To that end, we: ensure that error branches correctly free resources (even if the error is usually "critical&am...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.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:02881d89-fa5a-6a68-1f97-018c6753d67b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idB1FA:161654:18763A6:2088373:6B067EB3
html-safe-nonced97fa2426091824a6224e4ba8947dc7cb8f85d7261de71426c979968cfed51a2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUZBOjE2MTY1NDoxODc2M0E2OjIwODgzNzM6NkIwNjdFQjMiLCJ2aXNpdG9yX2lkIjoiOTAxMzg3NjcwMjMyMTIxMzEwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac280651b0875bc3a3522c22e461de5d25714a6729299ced6362e096b8c3f88a85
hovercard-subject-tagpull_request:2063557302
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/123910/commits
twitter:imagehttps://opengraph.githubassets.com/69e971b360b25b8d2e83813c77167efa435c19454c40e2ce815b9842964ac3b9/python/cpython/pull/123910
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/69e971b360b25b8d2e83813c77167efa435c19454c40e2ce815b9842964ac3b9/python/cpython/pull/123910
og:image:altIn this PR, we prepare the cursesmodule for #123630 and clean-up some bits. To that end, we: ensure that error branches correctly free resources (even if the error is usually "critical",...
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/123910/commits#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123910%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%2F123910%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/123910/commits
Reloadhttps://github.com/python/cpython/pull/123910/commits
Reloadhttps://github.com/python/cpython/pull/123910/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
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
picnixz:curses/consistent-cleanup-123630https://github.com/picnixz/cpython/tree/curses/consistent-cleanup-123630
Conversationhttps://github.com/python/cpython/pull/123910
Commits12 (12)https://github.com/python/cpython/pull/123910/commits
Checkshttps://github.com/python/cpython/pull/123910/checks
Files changedhttps://github.com/python/cpython/pull/123910/files
gh-123290: curses: fix reference leaks in error-branches and cleanup module's initializationhttps://github.com/python/cpython/pull/123910/commits#top
picnixzhttps://github.com/picnixz
python:mainhttps://github.com/python/cpython/tree/main
picnixz:curses/consistent-cleanup-123630https://github.com/picnixz/cpython/tree/curses/consistent-cleanup-123630
Fix reference leaks in the error-branches.https://github.com/python/cpython/pull/123910/commits/3ce06f4ca260d1a66960cb9bf3861e9f5a077ca3
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
3ce06f4https://github.com/python/cpython/pull/123910/commits/3ce06f4ca260d1a66960cb9bf3861e9f5a077ca3
https://github.com/python/cpython/tree/3ce06f4ca260d1a66960cb9bf3861e9f5a077ca3
protect macros expansions using `do { ... } while (0)` constructionshttps://github.com/python/cpython/pull/123910/commits/81bcde89122edb4c0a914ba7306ca51edaabcffd
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
81bcde8https://github.com/python/cpython/pull/123910/commits/81bcde89122edb4c0a914ba7306ca51edaabcffd
https://github.com/python/cpython/tree/81bcde89122edb4c0a914ba7306ca51edaabcffd
use uppercase global flagshttps://github.com/python/cpython/pull/123910/commits/848cc3e8f61a32f68330508a76fa082a9aa50676
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
848cc3ehttps://github.com/python/cpython/pull/123910/commits/848cc3e8f61a32f68330508a76fa082a9aa50676
https://github.com/python/cpython/tree/848cc3e8f61a32f68330508a76fa082a9aa50676
cosmetic changeshttps://github.com/python/cpython/pull/123910/commits/ea3fd8da7a8b6066b7f9e2289c74d95c19e6923c
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
ea3fd8dhttps://github.com/python/cpython/pull/123910/commits/ea3fd8da7a8b6066b7f9e2289c74d95c19e6923c
https://github.com/python/cpython/tree/ea3fd8da7a8b6066b7f9e2289c74d95c19e6923c
improve `SetDictInt` macrohttps://github.com/python/cpython/pull/123910/commits/557a53c8eba83b4c3a379e2faa39b448dfc45dcd
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
557a53chttps://github.com/python/cpython/pull/123910/commits/557a53c8eba83b4c3a379e2faa39b448dfc45dcd
https://github.com/python/cpython/tree/557a53c8eba83b4c3a379e2faa39b448dfc45dcd
undef utililty macroshttps://github.com/python/cpython/pull/123910/commits/a92fc1fb8094356bdc4c49491cb9eb7c84b14e95
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
a92fc1fhttps://github.com/python/cpython/pull/123910/commits/a92fc1fb8094356bdc4c49491cb9eb7c84b14e95
https://github.com/python/cpython/tree/a92fc1fb8094356bdc4c49491cb9eb7c84b14e95
improve macro usagehttps://github.com/python/cpython/pull/123910/commits/9ce028946f6e4f03c5ee603a36a0b7b25587ae43
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
9ce0289https://github.com/python/cpython/pull/123910/commits/9ce028946f6e4f03c5ee603a36a0b7b25587ae43
https://github.com/python/cpython/tree/9ce028946f6e4f03c5ee603a36a0b7b25587ae43
update globalshttps://github.com/python/cpython/pull/123910/commits/fd7372aaaa58fbf2e299122446c4c6571314b5c8
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
fd7372ahttps://github.com/python/cpython/pull/123910/commits/fd7372aaaa58fbf2e299122446c4c6571314b5c8
https://github.com/python/cpython/tree/fd7372aaaa58fbf2e299122446c4c6571314b5c8
address Victor's reviewhttps://github.com/python/cpython/pull/123910/commits/384716d2ca3a8d057d6dcf0fa0a45b15a61e88a7
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
384716dhttps://github.com/python/cpython/pull/123910/commits/384716d2ca3a8d057d6dcf0fa0a45b15a61e88a7
https://github.com/python/cpython/tree/384716d2ca3a8d057d6dcf0fa0a45b15a61e88a7
fix compilation if `Py_GIL_DISABLED` is definedhttps://github.com/python/cpython/pull/123910/commits/24f47a11622d30055ee9a1de248ff50f6dbe5f30
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
24f47a1https://github.com/python/cpython/pull/123910/commits/24f47a11622d30055ee9a1de248ff50f6dbe5f30
https://github.com/python/cpython/tree/24f47a11622d30055ee9a1de248ff50f6dbe5f30
use a local macrohttps://github.com/python/cpython/pull/123910/commits/4a1003c745cd8c2fe572c949d940a677fda05661
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
4a1003chttps://github.com/python/cpython/pull/123910/commits/4a1003c745cd8c2fe572c949d940a677fda05661
https://github.com/python/cpython/tree/4a1003c745cd8c2fe572c949d940a677fda05661
remove unused undefshttps://github.com/python/cpython/pull/123910/commits/356b00c15b27294a7d45b96711f58c88dba5ee0f
https://github.com/picnixz
picnixzhttps://github.com/python/cpython/commits?author=picnixz
356b00chttps://github.com/python/cpython/pull/123910/commits/356b00c15b27294a7d45b96711f58c88dba5ee0f
https://github.com/python/cpython/tree/356b00c15b27294a7d45b96711f58c88dba5ee0f
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.