Title: More than thousand 'Py_DEBUG': macro redefinition warnings for Windows debug builds on 3.14 branch · Issue #134774 · python/cpython · GitHub
Open Graph Title: More than thousand 'Py_DEBUG': macro redefinition warnings for Windows debug builds on 3.14 branch · Issue #134774 · python/cpython
X Title: More than thousand 'Py_DEBUG': macro redefinition warnings for Windows debug builds on 3.14 branch · Issue #134774 · python/cpython
Description: Bug report Bug description: Since PR #134211 / issue #133779 was packported to 3.14, Windows debug builds show more than thousand such warnings: pyconfig.h(390,16): warning C4005: 'Py_DEBUG': macro redefinition For example AMD64 Windows1...
Open Graph Description: Bug report Bug description: Since PR #134211 / issue #133779 was packported to 3.14, Windows debug builds show more than thousand such warnings: pyconfig.h(390,16): warning C4005: 'Py_DEBUG': macro...
X Description: Bug report Bug description: Since PR #134211 / issue #133779 was packported to 3.14, Windows debug builds show more than thousand such warnings: pyconfig.h(390,16): warning C4005: 'Py_DEBUG'...
Opengraph URL: https://github.com/python/cpython/issues/134774
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"More than thousand 'Py_DEBUG': macro redefinition warnings for Windows debug builds on 3.14 branch","articleBody":"# Bug report\n\n### Bug description:\n\nSince PR https://github.com/python/cpython/pull/134211 / issue https://github.com/python/cpython/issues/133779 was packported to 3.14, Windows debug builds show more than thousand such warnings:\n```\npyconfig.h(390,16): warning C4005: 'Py_DEBUG': macro redefinition\n```\nFor example\n- AMD64 Windows10 3.14: https://buildbot.python.org/#/builders/1711/builds/64\n- AMD64 Windows11 Refleaks 3.14: https://buildbot.python.org/#/builders/1682/builds/33\n- AMD64 Windows Server 2022 NoGIL 3.14: https://buildbot.python.org/#/builders/1717/builds/142\n- AMD64 Windows11 Bigmem 3.14: https://buildbot.python.org/#/builders/1799/builds/86\n\nThis stems from\nhttps://github.com/python/cpython/blob/b6e624a3fcd94600cbc1062cd13b0abbe56f0c25/PC/pyconfig.h#L97-L100\nwhich got added in the above PR, but rather belong to PR https://github.com/python/cpython/pull/131944 / issue https://github.com/python/cpython/issues/131942, which did not get backported, and should just be deleted.\n\n\n\n\n### CPython versions tested on:\n\n3.14\n\n### Operating systems tested on:\n\nWindows\n\n\u003c!-- gh-linked-prs --\u003e\n### Linked PRs\n* gh-134790\n* gh-134791\n\u003c!-- /gh-linked-prs --\u003e\n","author":{"url":"https://github.com/chris-eibl","@type":"Person","name":"chris-eibl"},"datePublished":"2025-05-27T06:19:02.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/134774/cpython/issues/134774"}
| 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:f7963078-cc70-1cfd-7ebe-c02a13f319eb |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A490:24214A:1FB4260:2B2C79F:6A5411DE |
| html-safe-nonce | e2bb77c5101e09fb5d082c337be71f45e912c426feed2cb9a9b08be3ff624a6f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNDkwOjI0MjE0QToxRkI0MjYwOjJCMkM3OUY6NkE1NDExREUiLCJ2aXNpdG9yX2lkIjoiNjAwNzQwMjc2NDc5NTM4NDI4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 99f80b9ebc720c444c4f0d438590deda5e5ccefb21af3163aa71a5502047b94a |
| hovercard-subject-tag | issue:3092721494 |
| 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/134774/issue_layout |
| twitter:image | https://opengraph.githubassets.com/9b22fa6a61f5b0e38165e5f4b0adab42cc13a43bbac0b4155abd98598f4498b4/python/cpython/issues/134774 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/9b22fa6a61f5b0e38165e5f4b0adab42cc13a43bbac0b4155abd98598f4498b4/python/cpython/issues/134774 |
| og:image:alt | Bug report Bug description: Since PR #134211 / issue #133779 was packported to 3.14, Windows debug builds show more than thousand such warnings: pyconfig.h(390,16): warning C4005: 'Py_DEBUG': macro... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chris-eibl |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width