-
-
Notifications
You must be signed in to change notification settings - Fork 32.8k
gh-133143: Make information about the interpreter ABI more accessible #137476
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
Merged
+137
−0
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
2e3e54a
Add sys.abi_info
zklaus 2ddafa4
📜🤖 Added by blurb_it.
blurb-it[bot] cdc50c3
Simplify pointer_bits handling
zklaus 6fb25a3
Remove explicit C API function
zklaus 4c3d83d
Make abi_info object a simple namespace with no explicit C API
zklaus 820e002
Cleanup scaffolding
zklaus 918521f
Fix make_abi_info to be static
zklaus 7863651
Add test
zklaus 81d75fc
Fix test
zklaus 41027a3
Add link
zklaus 56726ab
Rename attributes
zklaus 94b7f40
Add better attribute specification to docs
zklaus 6887d6c
Base `debug` on Py_REF_DEBUG
zklaus 7ced683
Add byteorder
zklaus cc5ae8c
Fix test
zklaus 5c18587
Improve error message in test
zklaus d025d17
Apply suggestions from code review
zklaus a089371
Revert "Base `debug` on Py_REF_DEBUG"
zklaus 44ce7c7
Add whatsnew entry for improved sys module
zklaus 8f57f17
Update Python/sysmodule.c
zklaus 77f7b9b
Integrate suggestions from Adam Turner
zklaus 312bff1
Add Windows configuration equivalents
zklaus ed7b6d9
Fix rst lint
zklaus 15f065a
Use Sphinx markup for attributes
encukou 151eb4c
Merge pull request #3 from encukou/add-sys.abi_info
zklaus 9f5ffae
Merge branch 'main' into add-sys.abi_info
AA-Turner 128b150
Don't use ReST in a C comment
encukou 0506533
docs rephrasing
AA-Turner 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 hidden or 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 hidden or 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 hidden or 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/Core_and_Builtins/2025-08-06-16-55-44.gh-issue-133143.l7CI9v.rst
This file contains hidden or 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 @@ | ||
Add ``sys.abi_info`` object to make ABI information more easily accessible. |
This file contains hidden or 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.
e.g. would have been better spelled out as for example