| 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:754b59ee-361d-8c77-ad85-bbe5988c8979 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF4E:24645:16BFE19:1DFE9A4:6B02023F |
| html-safe-nonce | f3d3029b08277b772d067ce840a820b93853e62d6d81e81208cdcac1ebf63e36 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjRFOjI0NjQ1OjE2QkZFMTk6MURGRTlBNDo2QjAyMDIzRiIsInZpc2l0b3JfaWQiOiI4OTgxMzY2NjgxODEzMjU0NzE5IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e568a00dd7327d3c9db682cfd7fc071fd5bb80ee4109b77fe1cedfd20a8652dc |
| hovercard-subject-tag | issue:5491426796 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/issues_fragments/issue_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/157695/issue_layout |
| twitter:image | https://opengraph.githubassets.com/dd9736dac3ba1e27e518cb5108face9f6ed244611231fb43dca2c937c99a6bf5/python/cpython/issues/157695 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/dd9736dac3ba1e27e518cb5108face9f6ed244611231fb43dca2c937c99a6bf5/python/cpython/issues/157695 |
| og:image:alt | Currently, the Python C API defines 472 macros with a name which doesn't start with Py, PY, _Py or _PY prefix. I propose adding a check to prevent adding new macros which doesn't respect this conve... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
| Skip to content | https://github.com/python/cpython/issues/157695#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fissues%2F157695 |
| 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%2Fissues%2F157695 |
| 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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/issues/157695 |
| Reload | https://github.com/python/cpython/issues/157695 |
| Reload | https://github.com/python/cpython/issues/157695 |
| 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 |
| New issue | https://github.com/login?return_to=https://github.com/python/cpython/issues/157695 |
| New issue | https://github.com/login?return_to=https://github.com/python/cpython/issues/157695 |
| The Python C API should only define macros with a name starting wit Py | https://github.com/python/cpython/issues/157695#top |
| buildThe build process and cross-build | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22build%22 |
| extension-modulesC modules in the Modules dir | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22 |
| infraCI, GitHub Actions, buildbots, Dependabot, etc. | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22infra%22 |
| interpreter-core(Objects, Python, Grammar, and Parser dirs) | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22 |
| topic-C-API | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-C-API%22 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| on Sep 17, 2026 | https://github.com/python/cpython/issues/157695#issue-5491426796 |
| gh-157695: Check that C API macros start with "Py" #157696 | https://github.com/python/cpython/pull/157696 |
| gh-157695: Rename HAVE_FLOAT16 macro to _Py_HAVE_FLOAT16 #157752 | https://github.com/python/cpython/pull/157752 |
| gh-157695: Rename HAVE_ICONV to _Py_HAVE_ICONV #157821 | https://github.com/python/cpython/pull/157821 |
| gh-157695: Rename HAVE_ACOSPI to _Py_HAVE_ACOSPI #157858 | https://github.com/python/cpython/pull/157858 |
| gh-157695: Rename HAVE_GETTID to _Py_HAVE_GETTID #157939 | https://github.com/python/cpython/pull/157939 |
| gh-157695: Fix acospi() detection in configure.ac #157948 | https://github.com/python/cpython/pull/157948 |
| gh-157695: Parse also _Py_HAVE_xxx variables in sysconfig #158926 | https://github.com/python/cpython/pull/158926 |
| gh-157695: Rename HAVE_GETDENTS64 to _Py_HAVE_GETDENTS64 #162184 | https://github.com/python/cpython/pull/162184 |
| gh-157695: Make HAVE_CURSES_xxx macros private #162212 | https://github.com/python/cpython/pull/162212 |
| gh-157695: Make HAVE_RL_CHANGE_ENVIRONMENT macro private #162213 | https://github.com/python/cpython/pull/162213 |
| Next | https://github.com/python/cpython/issues/157695?timeline_page=1 |
| vstinner | https://github.com/vstinner |
| topic-C-API | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-C-API%22 |
| on Sep 17, 2026 | https://github.com/python/cpython/issues/157695#event-31342511862 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| on Sep 17, 2026 | https://github.com/python/cpython/issues/157695#issuecomment-5719933959 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| on Sep 17, 2026 | https://github.com/python/cpython/issues/157695#issuecomment-5720032414 |
| StanFromIreland | https://github.com/StanFromIreland |
| infraCI, GitHub Actions, buildbots, Dependabot, etc. | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22infra%22 |
| on Sep 17, 2026 | https://github.com/python/cpython/issues/157695#event-31346776002 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| on Sep 17, 2026 | https://github.com/python/cpython/issues/157695#issuecomment-5720631685 |
| @encukou | https://github.com/encukou |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| on Sep 17, 2026 | https://github.com/python/cpython/issues/157695#issuecomment-5722776630 |
| gh-149685 | https://github.com/python/cpython/issues/149685 |
| vstinner | https://github.com/vstinner |
| on Sep 19, 2026 | https://github.com/python/cpython/issues/157695#event-31438674726 |
| gh-157695: Rename HAVE_FLOAT16 macro to _Py_HAVE_FLOAT16 (#157752) | https://github.com/python/cpython/commit/1d0f1ad0aa7a933e8d03f855d9b5eed7e00e775d |
| gh-157695 | https://github.com/python/cpython/issues/157695 |
| #157752 | https://github.com/python/cpython/pull/157752 |
| 1d0f1ad | https://github.com/python/cpython/commit/1d0f1ad0aa7a933e8d03f855d9b5eed7e00e775d |
| gh-157695: Check that C API macros start with "Py" (#157696) | https://github.com/python/cpython/commit/643013f58f703b39771fa35bbdba0ac762dd840a |
| gh-157695 | https://github.com/python/cpython/issues/157695 |
| #157696 | https://github.com/python/cpython/pull/157696 |
| 643013f | https://github.com/python/cpython/commit/643013f58f703b39771fa35bbdba0ac762dd840a |
| gh-157695: Rename HAVE_ICONV to _Py_HAVE_ICONV (#157821) | https://github.com/python/cpython/commit/315ed1669a200c0d6f74c78b65cc2a7d21cede0d |
| gh-157695 | https://github.com/python/cpython/issues/157695 |
| #157821 | https://github.com/python/cpython/pull/157821 |
| 315ed16 | https://github.com/python/cpython/commit/315ed1669a200c0d6f74c78b65cc2a7d21cede0d |
| gh-157695: Rename HAVE_ACOSPI to _Py_HAVE_ACOSPI (#157858) | https://github.com/python/cpython/commit/a32139044a80b8973ff8e547448a2549a8f87ad9 |
| gh-157695 | https://github.com/python/cpython/issues/157695 |
| #157858 | https://github.com/python/cpython/pull/157858 |
| a321390 | https://github.com/python/cpython/commit/a32139044a80b8973ff8e547448a2549a8f87ad9 |
| https://github.com/Locked-chess-official |
| Locked-chess-official | https://github.com/Locked-chess-official |
| on Sep 22, 2026 | https://github.com/python/cpython/issues/157695#issuecomment-5774758411 |
| https://github.com/encukou |
| encukou | https://github.com/encukou |
| on Sep 22, 2026 | https://github.com/python/cpython/issues/157695#issuecomment-5775154324 |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| on Sep 22, 2026 | https://github.com/python/cpython/issues/157695#issuecomment-5777023889 |
| picnixz | https://github.com/picnixz |
| interpreter-core(Objects, Python, Grammar, and Parser dirs) | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22 |
| extension-modulesC modules in the Modules dir | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22 |
| on Sep 22, 2026 | https://github.com/python/cpython/issues/157695#event-31613943320 |
| vstinner | https://github.com/vstinner |
| on Oct 6, 2026 | https://github.com/python/cpython/issues/157695#event-32630198457 |
| gh-157695: Parse also _Py_HAVE_xxx variables in sysconfig (#158926) | https://github.com/python/cpython/commit/978a8befa5ec9b28b161a56b16d326330aef4733 |
| gh-157695 | https://github.com/python/cpython/issues/157695 |
| #158926 | https://github.com/python/cpython/pull/158926 |
| 978a8be | https://github.com/python/cpython/commit/978a8befa5ec9b28b161a56b16d326330aef4733 |
| [3.15] gh-158893: Make os.strerror() thread-safe (#159120) | https://github.com/python/cpython/commit/c774d1526f32057c3a34e0ff0a217a1acc8bf43a |
| gh-158893 | https://github.com/python/cpython/issues/158893 |
| #159120 | https://github.com/python/cpython/pull/159120 |
| c774d15 | https://github.com/python/cpython/commit/c774d1526f32057c3a34e0ff0a217a1acc8bf43a |
| [3.15] pythongh-158893: Make os.strerror() thread-safe (python#159120) | https://github.com/vstinner/cpython/commit/955973435e083d94df1fc24e7dd18870da50d36f |
| pythongh-158893 | https://github.com/python/cpython/issues/158893 |
| python#159120 | https://github.com/python/cpython/pull/159120 |
| 9559734 | https://github.com/vstinner/cpython/commit/955973435e083d94df1fc24e7dd18870da50d36f |
| [3.14] gh-158893: Make os.strerror() thread-safe (#159120) (#159145) | https://github.com/python/cpython/commit/b23d657d0cc029a83cfe8a1a122005b4601c8e7e |
| gh-158893 | https://github.com/python/cpython/issues/158893 |
| #159120 | https://github.com/python/cpython/pull/159120 |
| #159145 | https://github.com/python/cpython/pull/159145 |
| b23d657 | https://github.com/python/cpython/commit/b23d657d0cc029a83cfe8a1a122005b4601c8e7e |
| kevinprimeraquecreo-stack | https://github.com/kevinprimeraquecreo-stack |
| Project_VK | https://github.com/users/kevinprimeraquecreo-stack/projects/1 |
| on Oct 18, 2026 | https://github.com/python/cpython/issues/157695#event-33592125129 |
| github-project-automation | https://github.com/apps/github-project-automation |
| Project_VK | https://github.com/users/kevinprimeraquecreo-stack/projects/1 |
| on Oct 18, 2026 | https://github.com/python/cpython/issues/157695 |
| kevinprimeraquecreo-stack | https://github.com/kevinprimeraquecreo-stack |
| Project_VK | https://github.com/users/kevinprimeraquecreo-stack/projects/1 |
| on Oct 18, 2026 | https://github.com/python/cpython/issues/157695#event-33592175683 |
| vstinner | https://github.com/vstinner |
| on Nov 18, 2026 | https://github.com/python/cpython/issues/157695#event-36526047403 |
| gh-157695: Rename HAVE_GETDENTS64 to _Py_HAVE_GETDENTS64 (#162184) | https://github.com/python/cpython/commit/4b8e53431f0bd02aeeb13c2e2a7b7fe51576774c |
| gh-157695 | https://github.com/python/cpython/issues/157695 |
| #162184 | https://github.com/python/cpython/pull/162184 |
| 4b8e534 | https://github.com/python/cpython/commit/4b8e53431f0bd02aeeb13c2e2a7b7fe51576774c |
| https://github.com/vstinner |
| vstinner | https://github.com/vstinner |
| on Nov 18, 2026 | https://github.com/python/cpython/issues/157695#issuecomment-6978714000 |
| vstinner | https://github.com/vstinner |
| completed | https://github.com/python/cpython/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted |
| on Nov 18, 2026 | https://github.com/python/cpython/issues/157695#event-36526585931 |
| vstinner | https://github.com/vstinner |
| on Nov 18, 2026 | https://github.com/python/cpython/issues/157695#event-36543180426 |
| pythongh-157695: Make HAVE_CURSES_xxx macros private | https://github.com/vstinner/cpython/commit/8f8e5cf03858a90c8f071e41d3361de2579b1902 |
| pythongh-157695 | https://github.com/python/cpython/issues/157695 |
| 8f8e5cf | https://github.com/vstinner/cpython/commit/8f8e5cf03858a90c8f071e41d3361de2579b1902 |
| pythongh-157695: Rename HAVE_RL_CHANGE_ENVIRONMENT macro | https://github.com/vstinner/cpython/commit/12adaf004e865f86961dc03969aee4ad82ed3da3 |
| pythongh-157695 | https://github.com/python/cpython/issues/157695 |
| 12adaf0 | https://github.com/vstinner/cpython/commit/12adaf004e865f86961dc03969aee4ad82ed3da3 |
| pythongh-157695: Make HAVE_RL_CHANGE_ENVIRONMENT macro private | https://github.com/vstinner/cpython/commit/720c7b0e415747a6a2dfc3e481ddd40e538ac1c8 |
| pythongh-157695 | https://github.com/python/cpython/issues/157695 |
| 720c7b0 | https://github.com/vstinner/cpython/commit/720c7b0e415747a6a2dfc3e481ddd40e538ac1c8 |
| gh-157695: Make HAVE_RL_CHANGE_ENVIRONMENT macro private (#162213) | https://github.com/python/cpython/commit/94250a7c0f6cbf51ff6b13873d1e611e417061af |
| gh-157695 | https://github.com/python/cpython/issues/157695 |
| #162213 | https://github.com/python/cpython/pull/162213 |
| 94250a7 | https://github.com/python/cpython/commit/94250a7c0f6cbf51ff6b13873d1e611e417061af |
| gh-157695: Make HAVE_CURSES_xxx macros private (#162212) | https://github.com/python/cpython/commit/0b5e26c6b1567f93abb6d3c755879d4e8070d503 |
| gh-157695 | https://github.com/python/cpython/issues/157695 |
| #162212 | https://github.com/python/cpython/pull/162212 |
| 0b5e26c | https://github.com/python/cpython/commit/0b5e26c6b1567f93abb6d3c755879d4e8070d503 |
| Sign up for free | https://github.com/signup?return_to=https://github.com/python/cpython/issues/157695 |
| Sign in to comment | https://github.com/login?return_to=https://github.com/python/cpython/issues/157695 |
| buildThe build process and cross-build | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22build%22 |
| extension-modulesC modules in the Modules dir | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22extension-modules%22 |
| infraCI, GitHub Actions, buildbots, Dependabot, etc. | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22infra%22 |
| interpreter-core(Objects, Python, Grammar, and Parser dirs) | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22interpreter-core%22 |
| topic-C-API | https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22topic-C-API%22 |
|
| 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 |