| react-profiling | 0 |
| react-import-map | react,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-controller | pull_requests |
| route-action | commits |
| fetch-nonce | v2:02881d89-fa5a-6a68-1f97-018c6753d67b |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | B1FA:161654:18763A6:2088373:6B067EB3 |
| html-safe-nonce | d97fa2426091824a6224e4ba8947dc7cb8f85d7261de71426c979968cfed51a2 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMUZBOjE2MTY1NDoxODc2M0E2OjIwODgzNzM6NkIwNjdFQjMiLCJ2aXNpdG9yX2lkIjoiOTAxMzg3NjcwMjMyMTIxMzEwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 280651b0875bc3a3522c22e461de5d25714a6729299ced6362e096b8c3f88a85 |
| hovercard-subject-tag | pull_request:2063557302 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/commits |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python/cpython/pull/123910/commits |
| twitter:image | https://opengraph.githubassets.com/69e971b360b25b8d2e83813c77167efa435c19454c40e2ce815b9842964ac3b9/python/cpython/pull/123910 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/69e971b360b25b8d2e83813c77167efa435c19454c40e2ce815b9842964ac3b9/python/cpython/pull/123910 |
| og:image:alt | 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",... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | picnixz |
| hostname | github.com |
| expected-hostname | github.com |
| None | 4462ff7ebfd3d551f202659f2423dae617b6849d23b1df6465dc504ef497d14a |
| turbo-cache-control | no-cache |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d3909414814ff86ce7da4c51a0f4918a13fb41b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/python/cpython/pull/123910/commits#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123910%2Fcommits |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F123910%2Fcommits |
| 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%2Fcommits&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/123910/commits |
| Reload | https://github.com/python/cpython/pull/123910/commits |
| Reload | https://github.com/python/cpython/pull/123910/commits |
| python | https://github.com/python |
| cpython | https://github.com/python/cpython |
| Code | https://github.com/python/cpython |
| Issues5k+ (5k+) | https://github.com/python/cpython/issues |
| Pull requests2.4k (2.4k) | https://github.com/python/cpython/pulls |
| Actions | https://github.com/python/cpython/actions |
| Projects | https://github.com/python/cpython/projects |
| Security and quality | https://github.com/python/cpython/security |
| Insights | https://github.com/python/cpython/insights |
| https://github.com/python/cpython |
| picnixz | https://github.com/picnixz |
| python:main | https://github.com/python/cpython/tree/main |
| picnixz:curses/consistent-cleanup-123630 | https://github.com/picnixz/cpython/tree/curses/consistent-cleanup-123630 |
| Conversation | https://github.com/python/cpython/pull/123910 |
| Commits12 (12) | https://github.com/python/cpython/pull/123910/commits |
| Checks | https://github.com/python/cpython/pull/123910/checks |
| Files changed | https://github.com/python/cpython/pull/123910/files |
| gh-123290: curses: fix reference leaks in error-branches and cleanup module's initialization | https://github.com/python/cpython/pull/123910/commits#top |
| picnixz | https://github.com/picnixz |
| python:main | https://github.com/python/cpython/tree/main |
| picnixz:curses/consistent-cleanup-123630 | https://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 |
| picnixz | https://github.com/python/cpython/commits?author=picnixz |
| 3ce06f4 | https://github.com/python/cpython/pull/123910/commits/3ce06f4ca260d1a66960cb9bf3861e9f5a077ca3 |
| https://github.com/python/cpython/tree/3ce06f4ca260d1a66960cb9bf3861e9f5a077ca3 |
| protect macros expansions using `do { ... } while (0)` constructions | https://github.com/python/cpython/pull/123910/commits/81bcde89122edb4c0a914ba7306ca51edaabcffd |
| https://github.com/picnixz |
| picnixz | https://github.com/python/cpython/commits?author=picnixz |
| 81bcde8 | https://github.com/python/cpython/pull/123910/commits/81bcde89122edb4c0a914ba7306ca51edaabcffd |
| https://github.com/python/cpython/tree/81bcde89122edb4c0a914ba7306ca51edaabcffd |
| use uppercase global flags | https://github.com/python/cpython/pull/123910/commits/848cc3e8f61a32f68330508a76fa082a9aa50676 |
| https://github.com/picnixz |
| picnixz | https://github.com/python/cpython/commits?author=picnixz |
| 848cc3e | https://github.com/python/cpython/pull/123910/commits/848cc3e8f61a32f68330508a76fa082a9aa50676 |
| https://github.com/python/cpython/tree/848cc3e8f61a32f68330508a76fa082a9aa50676 |
| cosmetic changes | https://github.com/python/cpython/pull/123910/commits/ea3fd8da7a8b6066b7f9e2289c74d95c19e6923c |
| https://github.com/picnixz |
| picnixz | https://github.com/python/cpython/commits?author=picnixz |
| ea3fd8d | https://github.com/python/cpython/pull/123910/commits/ea3fd8da7a8b6066b7f9e2289c74d95c19e6923c |
| https://github.com/python/cpython/tree/ea3fd8da7a8b6066b7f9e2289c74d95c19e6923c |
| improve `SetDictInt` macro | https://github.com/python/cpython/pull/123910/commits/557a53c8eba83b4c3a379e2faa39b448dfc45dcd |
| https://github.com/picnixz |
| picnixz | https://github.com/python/cpython/commits?author=picnixz |
| 557a53c | https://github.com/python/cpython/pull/123910/commits/557a53c8eba83b4c3a379e2faa39b448dfc45dcd |
| https://github.com/python/cpython/tree/557a53c8eba83b4c3a379e2faa39b448dfc45dcd |
| undef utililty macros | https://github.com/python/cpython/pull/123910/commits/a92fc1fb8094356bdc4c49491cb9eb7c84b14e95 |
| https://github.com/picnixz |
| picnixz | https://github.com/python/cpython/commits?author=picnixz |
| a92fc1f | https://github.com/python/cpython/pull/123910/commits/a92fc1fb8094356bdc4c49491cb9eb7c84b14e95 |
| https://github.com/python/cpython/tree/a92fc1fb8094356bdc4c49491cb9eb7c84b14e95 |
| improve macro usage | https://github.com/python/cpython/pull/123910/commits/9ce028946f6e4f03c5ee603a36a0b7b25587ae43 |
| https://github.com/picnixz |
| picnixz | https://github.com/python/cpython/commits?author=picnixz |
| 9ce0289 | https://github.com/python/cpython/pull/123910/commits/9ce028946f6e4f03c5ee603a36a0b7b25587ae43 |
| https://github.com/python/cpython/tree/9ce028946f6e4f03c5ee603a36a0b7b25587ae43 |
| update globals | https://github.com/python/cpython/pull/123910/commits/fd7372aaaa58fbf2e299122446c4c6571314b5c8 |
| https://github.com/picnixz |
| picnixz | https://github.com/python/cpython/commits?author=picnixz |
| fd7372a | https://github.com/python/cpython/pull/123910/commits/fd7372aaaa58fbf2e299122446c4c6571314b5c8 |
| https://github.com/python/cpython/tree/fd7372aaaa58fbf2e299122446c4c6571314b5c8 |
| address Victor's review | https://github.com/python/cpython/pull/123910/commits/384716d2ca3a8d057d6dcf0fa0a45b15a61e88a7 |
| https://github.com/picnixz |
| picnixz | https://github.com/python/cpython/commits?author=picnixz |
| 384716d | https://github.com/python/cpython/pull/123910/commits/384716d2ca3a8d057d6dcf0fa0a45b15a61e88a7 |
| https://github.com/python/cpython/tree/384716d2ca3a8d057d6dcf0fa0a45b15a61e88a7 |
| fix compilation if `Py_GIL_DISABLED` is defined | https://github.com/python/cpython/pull/123910/commits/24f47a11622d30055ee9a1de248ff50f6dbe5f30 |
| https://github.com/picnixz |
| picnixz | https://github.com/python/cpython/commits?author=picnixz |
| 24f47a1 | https://github.com/python/cpython/pull/123910/commits/24f47a11622d30055ee9a1de248ff50f6dbe5f30 |
| https://github.com/python/cpython/tree/24f47a11622d30055ee9a1de248ff50f6dbe5f30 |
| use a local macro | https://github.com/python/cpython/pull/123910/commits/4a1003c745cd8c2fe572c949d940a677fda05661 |
| https://github.com/picnixz |
| picnixz | https://github.com/python/cpython/commits?author=picnixz |
| 4a1003c | https://github.com/python/cpython/pull/123910/commits/4a1003c745cd8c2fe572c949d940a677fda05661 |
| https://github.com/python/cpython/tree/4a1003c745cd8c2fe572c949d940a677fda05661 |
| remove unused undefs | https://github.com/python/cpython/pull/123910/commits/356b00c15b27294a7d45b96711f58c88dba5ee0f |
| https://github.com/picnixz |
| picnixz | https://github.com/python/cpython/commits?author=picnixz |
| 356b00c | https://github.com/python/cpython/pull/123910/commits/356b00c15b27294a7d45b96711f58c88dba5ee0f |
| https://github.com/python/cpython/tree/356b00c15b27294a7d45b96711f58c88dba5ee0f |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |