René's URL Explorer Experiment


Title: gh-127405: Remove dead code in `sysconfig._get_pybuilddir()` by XuehaiPan · Pull Request #131935 · python/cpython · GitHub

Open Graph Title: gh-127405: Remove dead code in `sysconfig._get_pybuilddir()` by XuehaiPan · Pull Request #131935 · python/cpython

X Title: gh-127405: Remove dead code in `sysconfig._get_pybuilddir()` by XuehaiPan · Pull Request #131935 · python/cpython

Description: The return value for get_config_var('Py_DEBUG') is one of 0, 1, None. It cannot be a str. Issue: gh-127405

Open Graph Description: The return value for get_config_var('Py_DEBUG') is one of 0, 1, None. It cannot be a str. Issue: gh-127405

X Description: The return value for get_config_var('Py_DEBUG') is one of 0, 1, None. It cannot be a str. Issue: gh-127405

Opengraph URL: https://github.com/python/cpython/pull/131935

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,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/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:67fb2603-66a0-6904-6522-968ff187e6b6
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id928E:161320:19FBE0E:2263E8A:6B0218B4
html-safe-nonce21b5fe05c7613455cbbab54a29eb106baedad371bb5d1d9f81c9868fa2d48bb6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MjhFOjE2MTMyMDoxOUZCRTBFOjIyNjNFOEE6NkIwMjE4QjQiLCJ2aXNpdG9yX2lkIjoiNzE4NTUyMDc0MjMwMDI2MDUzMiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac98b76ddc8d3f21480d7d5cb4663a9d7e0e5b8a7f9b9c2f7d9bd087b927c3ba2f
hovercard-subject-tagpull_request:2428808582
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/python/cpython/pull/131935/files
twitter:imagehttps://avatars.githubusercontent.com/u/16078332?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/16078332?s=400&v=4
og:image:altThe return value for get_config_var('Py_DEBUG') is one of 0, 1, None. It cannot be a str. Issue: gh-127405
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/python/cpython git https://github.com/python/cpython.git
octolytics-dimension-user_id1525981
octolytics-dimension-user_loginpython
octolytics-dimension-repository_id81598961
octolytics-dimension-repository_nwopython/cpython
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id81598961
octolytics-dimension-repository_network_root_nwopython/cpython
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python/cpython/pull/131935/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F131935%2Ffiles
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F131935%2Ffiles
Sign uphttps://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%2Ffiles&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/131935/files
Reloadhttps://github.com/python/cpython/pull/131935/files
Reloadhttps://github.com/python/cpython/pull/131935/files
pythonhttps://github.com/python
cpythonhttps://github.com/python/cpython
Codehttps://github.com/python/cpython
Issues5k+ (5k+)https://github.com/python/cpython/issues
Pull requests2.4k (2.4k)https://github.com/python/cpython/pulls
Actionshttps://github.com/python/cpython/actions
Projectshttps://github.com/python/cpython/projects
Security and qualityhttps://github.com/python/cpython/security
Insightshttps://github.com/python/cpython/insights
Sign up for GitHub https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose
XuehaiPanhttps://github.com/XuehaiPan
python:mainhttps://github.com/python/cpython/tree/main
XuehaiPan:fix-py-debug-sysconfighttps://github.com/XuehaiPan/cpython/tree/fix-py-debug-sysconfig
Conversation 6 https://github.com/python/cpython/pull/131935
Commits 17 https://github.com/python/cpython/pull/131935/commits
Checks 0 https://github.com/python/cpython/pull/131935/checks
Files changed https://github.com/python/cpython/pull/131935/files
Please reload this pagehttps://github.com/python/cpython/pull/131935/files
gh-127405: Remove dead code in sysconfig._get_pybuilddir() https://github.com/python/cpython/pull/131935/files#top
Show all changes 17 commits https://github.com/python/cpython/pull/131935/files
a7099b9 Fix `get_config_var('Py_DEBUG')` usage in `sysconfig._get_pybuilddir()` XuehaiPan Mar 31, 2025 https://github.com/python/cpython/pull/131935/commits/a7099b91a37238f36d9637955f0c99d622568f8b
700ffee Merge branch 'main' into fix-py-debug-sysconfig XuehaiPan Mar 31, 2025 https://github.com/python/cpython/pull/131935/commits/700ffeecbe11c8afc7f7c5b32c557bdd885c1651
2cf16e6 Remove a branch that always false XuehaiPan Mar 31, 2025 https://github.com/python/cpython/pull/131935/commits/2cf16e6e2ae5babd4d857c155d86a7d52d262253
fcb5c17 📜🤖 Added by blurb_it. blurb-it[bot] Mar 31, 2025 https://github.com/python/cpython/pull/131935/commits/fcb5c179f0305747283e01d2184c8dfcf9c88eae
25ae994 Fix non-exist reference target in news XuehaiPan Mar 31, 2025 https://github.com/python/cpython/pull/131935/commits/25ae994827bc2115575e8b5cf639562b034f1726
78f13d4 Merge branch 'main' into fix-py-debug-sysconfig XuehaiPan Mar 31, 2025 https://github.com/python/cpython/pull/131935/commits/78f13d485ea542e7a53bf5c6573cb50b25deaf37
1bd31c4 Revert back to pre GH-127430 XuehaiPan Apr 1, 2025 https://github.com/python/cpython/pull/131935/commits/1bd31c483c77c3a1f35dce01d3add7c39a5a4956
3652252 Merge branch 'main' into fix-py-debug-sysconfig XuehaiPan Apr 1, 2025 https://github.com/python/cpython/pull/131935/commits/3652252acdc2c41988df69d417f8d9a60fc790a1
15e9149 Try to fix `sysconfig._get_pybuilddir()` XuehaiPan Apr 1, 2025 https://github.com/python/cpython/pull/131935/commits/15e91490c4bbfc3cc86abd7f10b606878789a05a
01a8f94 Try fix WASM build with Py_DEBUG XuehaiPan Apr 1, 2025 https://github.com/python/cpython/pull/131935/commits/01a8f944b88456816ebae152d5917db702e3e971
047d5e4 Try fix WASM build with Py_DEBUG XuehaiPan Apr 1, 2025 https://github.com/python/cpython/pull/131935/commits/047d5e4afa115a497027f6c7d7b969ce8fd2009d
949fd46 Add `/Lib` to PYTHONPATH XuehaiPan Apr 1, 2025 https://github.com/python/cpython/pull/131935/commits/949fd4639e5668c1939e1166d77b395e68de9b63
cb04312 Try fix WASM build with Py_DEBUG XuehaiPan Apr 1, 2025 https://github.com/python/cpython/pull/131935/commits/cb043128934a2f93877bec941df98edf7830e756
1a6b81b Try fix WASM build with Py_DEBUG XuehaiPan Apr 1, 2025 https://github.com/python/cpython/pull/131935/commits/1a6b81bad7cbc27bd889bdffa82a81caf57838e7
bc0c675 Revert "Try fix WASM build with Py_DEBUG" XuehaiPan Apr 1, 2025 https://github.com/python/cpython/pull/131935/commits/bc0c675d2df98c01f71b8bf3d1e18c0f85678ca4
a5af5c8 Try increase stack size XuehaiPan Apr 1, 2025 https://github.com/python/cpython/pull/131935/commits/a5af5c850eed3709421f776da0fe194841382b83
732ea14 Try increase stack size XuehaiPan Apr 1, 2025 https://github.com/python/cpython/pull/131935/commits/732ea149cd9c9379d54c6b7dbe08d1c45d14100c
Clear filters https://github.com/python/cpython/pull/131935/files
Please reload this pagehttps://github.com/python/cpython/pull/131935/files
Please reload this pagehttps://github.com/python/cpython/pull/131935/files
__main__.py https://github.com/python/cpython/pull/131935/files#diff-23cfd664a753d286b910559da22193a5c855d9ca48ce73cb65ea0c16a07af6f9
2025-03-31-17-15-09.gh-issue-127405.E7lPpD.rst https://github.com/python/cpython/pull/131935/files#diff-6a56de1b75ed13e6104ef3165a51aeb429e538bfa81f0479eb3724220b6cf205
wasi.py https://github.com/python/cpython/pull/131935/files#diff-7c2837a7a2b6c866a1af8551594540428eceb7d030d789422c47d641fb210529
wasm_build.py https://github.com/python/cpython/pull/131935/files#diff-6013cddfdc7d08965310159516a707b6dfef7d131a30962a81383407c04edea1
configure https://github.com/python/cpython/pull/131935/files#diff-90d08e583c4c9c6f391b2ae90f819f600a6326928ea9512c9e0c6d98e9f29ac2
configure.ac https://github.com/python/cpython/pull/131935/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L596
Lib/sysconfig/__main__.pyhttps://github.com/python/cpython/pull/131935/files#diff-23cfd664a753d286b910559da22193a5c855d9ca48ce73cb65ea0c16a07af6f9
View file https://github.com/XuehaiPan/cpython/blob/732ea149cd9c9379d54c6b7dbe08d1c45d14100c/Lib/sysconfig/__main__.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/131935/{{ revealButtonHref }}
https://github.com/python/cpython/pull/131935/files#diff-23cfd664a753d286b910559da22193a5c855d9ca48ce73cb65ea0c16a07af6f9
davidlowrydudahttps://github.com/davidlowryduda
Apr 1, 2025https://github.com/python/cpython/pull/131935/files#r2023220112
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
cpython/Tools/wasm/wasi.pyhttps://github.com/python/cpython/blob/e9556e100452ed5a92fcf0e333ab75b0da29cf5b/Tools/wasm/wasi.py#L216
e9556e1https://github.com/python/cpython/commit/e9556e100452ed5a92fcf0e333ab75b0da29cf5b
Please reload this pagehttps://github.com/python/cpython/pull/131935/files
https://github.com/python/cpython/pull/131935/files#diff-23cfd664a753d286b910559da22193a5c855d9ca48ce73cb65ea0c16a07af6f9
Misc/NEWS.d/next/Library/2025-03-31-17-15-09.gh-issue-127405.E7lPpD.rsthttps://github.com/python/cpython/pull/131935/files#diff-6a56de1b75ed13e6104ef3165a51aeb429e538bfa81f0479eb3724220b6cf205
View file https://github.com/XuehaiPan/cpython/blob/732ea149cd9c9379d54c6b7dbe08d1c45d14100c/Misc/NEWS.d/next/Library/2025-03-31-17-15-09.gh-issue-127405.E7lPpD.rst
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/131935/{{ revealButtonHref }}
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L185
Tools/wasm/wasi.pyhttps://github.com/python/cpython/pull/131935/files#diff-7c2837a7a2b6c866a1af8551594540428eceb7d030d789422c47d641fb210529
View file https://github.com/XuehaiPan/cpython/blob/732ea149cd9c9379d54c6b7dbe08d1c45d14100c/Tools/wasm/wasi.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/131935/{{ revealButtonHref }}
https://github.com/python/cpython/pull/131935/files#diff-7c2837a7a2b6c866a1af8551594540428eceb7d030d789422c47d641fb210529
https://github.com/python/cpython/pull/131935/files#diff-7c2837a7a2b6c866a1af8551594540428eceb7d030d789422c47d641fb210529
Tools/wasm/wasm_build.pyhttps://github.com/python/cpython/pull/131935/files#diff-6013cddfdc7d08965310159516a707b6dfef7d131a30962a81383407c04edea1
View file https://github.com/XuehaiPan/cpython/blob/732ea149cd9c9379d54c6b7dbe08d1c45d14100c/Tools/wasm/wasm_build.py
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/131935/{{ revealButtonHref }}
https://github.com/python/cpython/pull/131935/files#diff-6013cddfdc7d08965310159516a707b6dfef7d131a30962a81383407c04edea1
https://github.com/python/cpython/pull/131935/files#diff-6013cddfdc7d08965310159516a707b6dfef7d131a30962a81383407c04edea1
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L84
configurehttps://github.com/python/cpython/pull/131935/files#diff-90d08e583c4c9c6f391b2ae90f819f600a6326928ea9512c9e0c6d98e9f29ac2
View file https://github.com/XuehaiPan/cpython/blob/732ea149cd9c9379d54c6b7dbe08d1c45d14100c/configure
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/python/cpython/pull/131935/files
https://github.com/python/cpython/blob/main/.github/CODEOWNERS#L84
configure.achttps://github.com/python/cpython/pull/131935/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
View file https://github.com/XuehaiPan/cpython/blob/732ea149cd9c9379d54c6b7dbe08d1c45d14100c/configure.ac
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/python/cpython/pull/131935/{{ revealButtonHref }}
https://github.com/python/cpython/pull/131935/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
https://github.com/python/cpython/pull/131935/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
https://github.com/python/cpython/pull/131935/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
https://github.com/python/cpython/pull/131935/files#diff-49473dca262eeab3b4a43002adb08b4db31020d190caaad1594b47f1d5daa810
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.