-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
gh-127405: Remove dead code in sysconfig._get_pybuilddir()
#131935
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
+16
−9
Closed
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
a7099b9
Fix `get_config_var('Py_DEBUG')` usage in `sysconfig._get_pybuilddir()`
XuehaiPan 700ffee
Merge branch 'main' into fix-py-debug-sysconfig
XuehaiPan 2cf16e6
Remove a branch that always false
XuehaiPan fcb5c17
📜🤖 Added by blurb_it.
blurb-it[bot] 25ae994
Fix non-exist reference target in news
XuehaiPan 78f13d4
Merge branch 'main' into fix-py-debug-sysconfig
XuehaiPan 1bd31c4
Revert back to pre GH-127430
XuehaiPan 3652252
Merge branch 'main' into fix-py-debug-sysconfig
XuehaiPan 15e9149
Try to fix `sysconfig._get_pybuilddir()`
XuehaiPan 01a8f94
Try fix WASM build with Py_DEBUG
XuehaiPan 047d5e4
Try fix WASM build with Py_DEBUG
XuehaiPan 949fd46
Add `/Lib` to PYTHONPATH
XuehaiPan cb04312
Try fix WASM build with Py_DEBUG
XuehaiPan 1a6b81b
Try fix WASM build with Py_DEBUG
XuehaiPan bc0c675
Revert "Try fix WASM build with Py_DEBUG"
XuehaiPan a5af5c8
Try increase stack size
XuehaiPan 732ea14
Try increase stack size
XuehaiPan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Library/2025-03-31-17-15-09.gh-issue-127405.E7lPpD.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Remove dead code in function ``sysconfig._get_pybuilddir``. Patch by Xuehai Pan. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see any way for this to be called, but I note that this behavior is tied to
cpython/Tools/wasm/wasi.py
Line 216 in e9556e1
I think this aspect of the WASM build is broken, and if this code can be deleted then perhaps that trail can too.