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 Python programming language. Contribute to python/cpython development by creating an account on GitHub.

Open Graph Description: The return value for get_config_var('Py_DEBUG') is one of 0, 1, None. It cannot be a str. Issue: Set sys.abiflags on Windows #127405

X Description: The return value for get_config_var('Py_DEBUG') is one of 0, 1, None. It cannot be a str. Issue: Set sys.abiflags on Windows #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/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:00ed508c-8353-d14a-4aa6-bc6bd515fe58
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDECC:9E08E:621D4C:7B4C41:6B02084C
html-safe-nonced0cff97e12fb635d07581a59c7a8ef332a356290402f001d44725246eb1765b3
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERUNDOjlFMDhFOjYyMUQ0Qzo3QjRDNDE6NkIwMjA4NEMiLCJ2aXNpdG9yX2lkIjoiNTc4MjQ2NDM4ODIzMzU2MjE4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5747091cabe771a4ae1537ae558a455093f05a45ba648446dfb8a368bf5211b8
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///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python/cpython/131935/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/b60f6910abb36ae32a3929e111e10743af49c722154ea51c3c518b45b102a793/python/cpython/pull/131935
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/b60f6910abb36ae32a3929e111e10743af49c722154ea51c3c518b45b102a793/python/cpython/pull/131935
og:image:altThe return value for get_config_var('Py_DEBUG') is one of 0, 1, None. It cannot be a str. Issue: Set sys.abiflags on Windows #127405
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameXuehaiPan
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-cache
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
disable-turbofalse
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
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/python/cpython/pull/131935#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F131935
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
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python%2Fcpython
Reloadhttps://github.com/python/cpython/pull/131935
Reloadhttps://github.com/python/cpython/pull/131935
Reloadhttps://github.com/python/cpython/pull/131935
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
https://github.com/python/cpython
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
Conversationhttps://github.com/python/cpython/pull/131935
Commits17 (17)https://github.com/python/cpython/pull/131935/commits
Checkshttps://github.com/python/cpython/pull/131935/checks
Files changedhttps://github.com/python/cpython/pull/131935/files
gh-127405: Remove dead code in sysconfig._get_pybuilddir()https://github.com/python/cpython/pull/131935#top
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
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/XuehaiPan
Mar 31, 2025https://github.com/python/cpython/pull/131935#issue-2960332219
Please reload this pagehttps://github.com/python/cpython/pull/131935
Set sys.abiflags on Windows #127405https://github.com/python/cpython/issues/127405
Please reload this pagehttps://github.com/python/cpython/pull/131935
https://github.com/XuehaiPan
Fix get_config_var('Py_DEBUG') usage in sysconfig._get_pybuilddir()https://github.com/python/cpython/pull/131935/commits/a7099b91a37238f36d9637955f0c99d622568f8b
a7099b9https://github.com/python/cpython/pull/131935/commits/a7099b91a37238f36d9637955f0c99d622568f8b
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/XuehaiPan
FFY00https://github.com/FFY00
code ownerhttps://github.com/python/cpython/blob/bab1398a47f6d0cfc1be70497f306874c749ef7c/.github/CODEOWNERS#L257
March 31, 2025 12:17https://github.com/python/cpython/pull/131935#event-17056235139
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Mar 31, 2025https://github.com/python/cpython/pull/131935#event-17056236052
https://github.com/apps/bedevere-app
bedevere-apphttps://github.com/apps/bedevere-app
Mar 31, 2025 https://github.com/python/cpython/pull/131935#ref-issue-2704896606
Set sys.abiflags on Windows #127405 https://github.com/python/cpython/issues/127405
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/XuehaiPan
Mar 31, 2025https://github.com/python/cpython/pull/131935#issuecomment-2766053996
Please reload this pagehttps://github.com/python/cpython/pull/131935
https://github.com/brianschubert
brianschuberthttps://github.com/brianschubert
Mar 31, 2025https://github.com/python/cpython/pull/131935#issuecomment-2766209713
Please reload this pagehttps://github.com/python/cpython/pull/131935
XuehaiPanhttps://github.com/XuehaiPan
March 31, 2025 21:45https://github.com/python/cpython/pull/131935#commits-pushed-700ffee
https://github.com/XuehaiPan
Merge branch 'main' into fix-py-debug-sysconfighttps://github.com/python/cpython/pull/131935/commits/700ffeecbe11c8afc7f7c5b32c557bdd885c1651
700ffeehttps://github.com/python/cpython/pull/131935/commits/700ffeecbe11c8afc7f7c5b32c557bdd885c1651
https://github.com/XuehaiPan
Remove a branch that always falsehttps://github.com/python/cpython/pull/131935/commits/2cf16e6e2ae5babd4d857c155d86a7d52d262253
2cf16e6https://github.com/python/cpython/pull/131935/commits/2cf16e6e2ae5babd4d857c155d86a7d52d262253
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/XuehaiPan
Mar 31, 2025https://github.com/python/cpython/pull/131935#issuecomment-2766287899
Please reload this pagehttps://github.com/python/cpython/pull/131935
https://github.com/apps/blurb-it
📜🤖 Added by blurb_it.https://github.com/python/cpython/pull/131935/commits/fcb5c179f0305747283e01d2184c8dfcf9c88eae
fcb5c17https://github.com/python/cpython/pull/131935/commits/fcb5c179f0305747283e01d2184c8dfcf9c88eae
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/XuehaiPan
Mar 31, 2025https://github.com/python/cpython/pull/131935#event-17060975279
XuehaiPanhttps://github.com/XuehaiPan
April 1, 2025 01:19https://github.com/python/cpython/pull/131935#commits-pushed-25ae994
https://github.com/XuehaiPan
Fix non-exist reference target in newshttps://github.com/python/cpython/pull/131935/commits/25ae994827bc2115575e8b5cf639562b034f1726
25ae994https://github.com/python/cpython/pull/131935/commits/25ae994827bc2115575e8b5cf639562b034f1726
https://github.com/XuehaiPan
Merge branch 'main' into fix-py-debug-sysconfighttps://github.com/python/cpython/pull/131935/commits/78f13d485ea542e7a53bf5c6573cb50b25deaf37
78f13d4https://github.com/python/cpython/pull/131935/commits/78f13d485ea542e7a53bf5c6573cb50b25deaf37
https://github.com/davidlowryduda
davidlowrydudahttps://github.com/davidlowryduda
Apr 1, 2025 https://github.com/python/cpython/pull/131935#pullrequestreview-2733340999
View reviewed changes https://github.com/python/cpython/pull/131935/files/78f13d485ea542e7a53bf5c6573cb50b25deaf37
Lib/sysconfig/__main__.pyhttps://github.com/python/cpython/pull/131935/files/78f13d485ea542e7a53bf5c6573cb50b25deaf37#diff-23cfd664a753d286b910559da22193a5c855d9ca48ce73cb65ea0c16a07af6f9
davidlowrydudahttps://github.com/davidlowryduda
Apr 1, 2025https://github.com/python/cpython/pull/131935#discussion_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
XuehaiPanhttps://github.com/XuehaiPan
April 2, 2025 01:07https://github.com/python/cpython/pull/131935#commits-pushed-1bd31c4
https://github.com/XuehaiPan
Revert back to prehttps://github.com/python/cpython/pull/131935/commits/1bd31c483c77c3a1f35dce01d3add7c39a5a4956
pythonGH-127430https://github.com/python/cpython/pull/127430
1bd31c4https://github.com/python/cpython/pull/131935/commits/1bd31c483c77c3a1f35dce01d3add7c39a5a4956
https://github.com/XuehaiPan
Merge branch 'main' into fix-py-debug-sysconfighttps://github.com/python/cpython/pull/131935/commits/3652252acdc2c41988df69d417f8d9a60fc790a1
3652252https://github.com/python/cpython/pull/131935/commits/3652252acdc2c41988df69d417f8d9a60fc790a1
https://github.com/XuehaiPan
Try to fix sysconfig._get_pybuilddir()https://github.com/python/cpython/pull/131935/commits/15e91490c4bbfc3cc86abd7f10b606878789a05a
15e9149https://github.com/python/cpython/pull/131935/commits/15e91490c4bbfc3cc86abd7f10b606878789a05a
https://github.com/XuehaiPan
Try fix WASM build with Py_DEBUGhttps://github.com/python/cpython/pull/131935/commits/01a8f944b88456816ebae152d5917db702e3e971
01a8f94https://github.com/python/cpython/pull/131935/commits/01a8f944b88456816ebae152d5917db702e3e971
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/XuehaiPan
brettcannonhttps://github.com/brettcannon
freakboy3742https://github.com/freakboy3742
code ownershttps://github.com/python/cpython/blob/053c285f6b41f92fbdd1d4ff0c959cceefacd7cd/.github/CODEOWNERS#L296
April 1, 2025 18:13https://github.com/python/cpython/pull/131935#event-17080389413
XuehaiPanhttps://github.com/XuehaiPan
April 2, 2025 02:22https://github.com/python/cpython/pull/131935#commits-pushed-047d5e4
https://github.com/XuehaiPan
Try fix WASM build with Py_DEBUGhttps://github.com/python/cpython/pull/131935/commits/047d5e4afa115a497027f6c7d7b969ce8fd2009d
047d5e4https://github.com/python/cpython/pull/131935/commits/047d5e4afa115a497027f6c7d7b969ce8fd2009d
https://github.com/XuehaiPan
Add /Lib to PYTHONPATHhttps://github.com/python/cpython/pull/131935/commits/949fd4639e5668c1939e1166d77b395e68de9b63
949fd46https://github.com/python/cpython/pull/131935/commits/949fd4639e5668c1939e1166d77b395e68de9b63
https://github.com/XuehaiPan
Try fix WASM build with Py_DEBUGhttps://github.com/python/cpython/pull/131935/commits/cb043128934a2f93877bec941df98edf7830e756
cb04312https://github.com/python/cpython/pull/131935/commits/cb043128934a2f93877bec941df98edf7830e756
https://github.com/XuehaiPan
Try fix WASM build with Py_DEBUGhttps://github.com/python/cpython/pull/131935/commits/1a6b81bad7cbc27bd889bdffa82a81caf57838e7
1a6b81bhttps://github.com/python/cpython/pull/131935/commits/1a6b81bad7cbc27bd889bdffa82a81caf57838e7
https://github.com/XuehaiPan
Revert "Try fix WASM build with Py_DEBUG"https://github.com/python/cpython/pull/131935/commits/bc0c675d2df98c01f71b8bf3d1e18c0f85678ca4
bc0c675https://github.com/python/cpython/pull/131935/commits/bc0c675d2df98c01f71b8bf3d1e18c0f85678ca4
1a6b81bhttps://github.com/XuehaiPan/cpython/commit/1a6b81bad7cbc27bd889bdffa82a81caf57838e7
cb04312https://github.com/XuehaiPan/cpython/commit/cb043128934a2f93877bec941df98edf7830e756
https://github.com/XuehaiPan
Try increase stack sizehttps://github.com/python/cpython/pull/131935/commits/a5af5c850eed3709421f776da0fe194841382b83
a5af5c8https://github.com/python/cpython/pull/131935/commits/a5af5c850eed3709421f776da0fe194841382b83
https://github.com/XuehaiPan
Try increase stack sizehttps://github.com/python/cpython/pull/131935/commits/732ea149cd9c9379d54c6b7dbe08d1c45d14100c
732ea14https://github.com/python/cpython/pull/131935/commits/732ea149cd9c9379d54c6b7dbe08d1c45d14100c
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/XuehaiPan
corona10https://github.com/corona10
erlend-aaslandhttps://github.com/erlend-aasland
code ownershttps://github.com/python/cpython/blob/c2ac662f284b7c3f0701173f2467bf1e18aad2e2/.github/CODEOWNERS#L15
April 1, 2025 19:42https://github.com/python/cpython/pull/131935#event-17081630269
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/XuehaiPan
Apr 1, 2025https://github.com/python/cpython/pull/131935#issuecomment-2770525718
Please reload this pagehttps://github.com/python/cpython/pull/131935
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/XuehaiPan
Apr 1, 2025https://github.com/python/cpython/pull/131935#event-17081710228
https://github.com/FFY00
FFY00https://github.com/FFY00
Apr 1, 2025https://github.com/python/cpython/pull/131935#issuecomment-2770597407
GH-131769https://github.com/python/cpython/issues/131769
GH-131761https://github.com/python/cpython/pull/131761
GH-131844https://github.com/python/cpython/pull/131844
GH-131855https://github.com/python/cpython/pull/131855
Please reload this pagehttps://github.com/python/cpython/pull/131935
https://github.com/XuehaiPan
XuehaiPanhttps://github.com/XuehaiPan
April 2, 2025 12:47https://github.com/python/cpython/pull/131935#event-17093341883
https://github.co/hiddenchars
https://github.com/python/cpython/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F131935
https://github.com/FFY00
FFY00 https://github.com/FFY00
https://github.com/brettcannon
brettcannon https://github.com/brettcannon
https://github.com/freakboy3742
freakboy3742 https://github.com/freakboy3742
https://github.com/erlend-aasland
erlend-aasland https://github.com/erlend-aasland
https://github.com/corona10
corona10 https://github.com/corona10
https://github.com/davidlowryduda
davidlowryduda https://github.com/davidlowryduda
https://github.com/python/cpython/pull/131935/files/78f13d485ea542e7a53bf5c6573cb50b25deaf37
Please reload this pagehttps://github.com/python/cpython/pull/131935
awaiting review https://github.com/python/cpython/issues?q=state%3Aopen%20label%3A%22awaiting%20review%22
Please reload this pagehttps://github.com/python/cpython/pull/131935
https://github.com/XuehaiPan
https://github.com/brianschubert
https://github.com/FFY00
https://github.com/davidlowryduda
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.