Title: `sysconfig.get_config_var("Py_DEBUG")` is not picked up on Windows builds · Issue #133878 · python/cpython · GitHub
Open Graph Title: `sysconfig.get_config_var("Py_DEBUG")` is not picked up on Windows builds · Issue #133878 · python/cpython
X Title: `sysconfig.get_config_var("Py_DEBUG")` is not picked up on Windows builds · Issue #133878 · python/cpython
Description: I used the PCbuild\build.bat -e -d -p x64 command to build, but when I print PY_DEBUG, it returns None.
Open Graph Description: I used the PCbuild\build.bat -e -d -p x64 command to build, but when I print PY_DEBUG, it returns None.
X Description: I used the PCbuild\build.bat -e -d -p x64 command to build, but when I print PY_DEBUG, it returns None.
Opengraph URL: https://github.com/python/cpython/issues/133878
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`sysconfig.get_config_var(\"Py_DEBUG\")` is not picked up on Windows builds","articleBody":"I used the PCbuild\\build.bat -e -d -p x64 command to build, but when I print PY_DEBUG, it returns None.\n\u003cimg width=\"664\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/e05b6756-7e70-4da4-a291-d6b78f6d91a3\" /\u003e","author":{"url":"https://github.com/cctv130","@type":"Person","name":"cctv130"},"datePublished":"2025-05-11T08:41:19.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":12},"url":"https://github.com/133878/cpython/issues/133878"}
| 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:4207e72d-fda6-19c3-04ea-9f2e6a3b0d30 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BD76:2180CA:CC91C3:111F8C3:6A540CB2 |
| html-safe-nonce | b7e63783d74508d3e143f8a83938c7d416162d7dd506cb114eaba3776dfce963 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRDc2OjIxODBDQTpDQzkxQzM6MTExRjhDMzo2QTU0MENCMiIsInZpc2l0b3JfaWQiOiIzMzk4OTg1MzUyNTk3NDc0NDgyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | c97b177b9fddd395c9a377248f58557f0278ad223866d11c08ddad4b9316dd04 |
| hovercard-subject-tag | issue:3054836950 |
| 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/133878/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f6f1dc2c4f7d720e35b95a5ad9516444e31d82cf3bc4d9b73537ef6047ca85a1/python/cpython/issues/133878 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f6f1dc2c4f7d720e35b95a5ad9516444e31d82cf3bc4d9b73537ef6047ca85a1/python/cpython/issues/133878 |
| og:image:alt | I used the PCbuild\build.bat -e -d -p x64 command to build, but when I print PY_DEBUG, it returns None. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | cctv130 |
| 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