Title: Add `curses` prefix to global variables names in `_cursesmodule.c` · Issue #124046 · python/cpython · GitHub
Open Graph Title: Add `curses` prefix to global variables names in `_cursesmodule.c` · Issue #124046 · python/cpython
X Title: Add `curses` prefix to global variables names in `_cursesmodule.c` · Issue #124046 · python/cpython
Description: Feature or enhancement Proposal: Some global variables are modified in _cursesmodule.c by other functions and their names can be confused with a local variable name. I wanted to use uppercase names but Victor argued that this should be r...
Open Graph Description: Feature or enhancement Proposal: Some global variables are modified in _cursesmodule.c by other functions and their names can be confused with a local variable name. I wanted to use uppercase names...
X Description: Feature or enhancement Proposal: Some global variables are modified in _cursesmodule.c by other functions and their names can be confused with a local variable name. I wanted to use uppercase names...
Opengraph URL: https://github.com/python/cpython/issues/124046
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add `curses` prefix to global variables names in `_cursesmodule.c`","articleBody":"# Feature or enhancement\r\n\r\n### Proposal:\r\n\r\nSome global variables are modified in `_cursesmodule.c` by other functions and their names can be confused with a local variable name. I wanted to use uppercase names but Victor argued that this should be reserved for C macros (https://github.com/python/cpython/pull/123910#discussion_r1754335272) and suggested keeping prefixed lowercase names.\r\n\r\n### Has this already been discussed elsewhere?\r\n\r\nThis is a minor feature, which does not need previous discussion elsewhere\r\n\r\n### Links to previous discussion of this feature:\r\n\r\n_No response_\r\n","author":{"url":"https://github.com/picnixz","@type":"Person","name":"picnixz"},"datePublished":"2024-09-13T11:55:28Z","url":"https://github.com/python/cpython/issues/124046"}
| 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 | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:091a6747-317f-d8c7-d1e1-a6bc80bd6a6c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B6E8:A3A94:9BE80:D51D7:6B06723C |
| html-safe-nonce | 2b5a9082055641b8899e738268f860c19a46d13a1790914d9190e75daca34279 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNkU4OkEzQTk0OjlCRTgwOkQ1MUQ3OjZCMDY3MjNDIiwidmlzaXRvcl9pZCI6IjE1ODQwMDYxMjgzNjE0MzU3MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 669a87d7b0f139cdc56ad8448d93cac4e6622da5da7f3dc35e627a6d58045971 |
| hovercard-subject-tag | issue:2524652390 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/124046/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e13141b9bea282a7adc3d7d8b5afdaecf2a1bd2e4fc56bf727372e4103a55134/python/cpython/issues/124046 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e13141b9bea282a7adc3d7d8b5afdaecf2a1bd2e4fc56bf727372e4103a55134/python/cpython/issues/124046 |
| og:image:alt | Feature or enhancement Proposal: Some global variables are modified in _cursesmodule.c by other functions and their names can be confused with a local variable name. I wanted to use uppercase names... |
| 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-preview |
| 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 | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width