GeezerVison is showing github.com — bpo-43795: Generate python3dll.c and doc data from manifest (PEP 652) by encukou · Pull Request #25315 · python/cpython
Conversation
encukou
commented
Apr 9, 2021
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
Here's an initial stab at PEP 652 – Maintaining the Stable ABI
There are two reviews I'm looking for:
- The tool
- I'm commandeering and assimilating
Tools/scripts/stable_abi.py – @pablogsal, hope you're OK with that. I prefixed all the tool/platform-specific functions with gcc or binutils
- The parser is recursive, which isn't necessary for this data set. But it will allow e.g. structs to have members that have their own data.
- The contents of the limited API/stable ABI – this is definitely not final, but the diff in
Doc/data/stable_abi.dat (the limited API) and PC/python3dll.c (Windows stable ABI) and the check-limited-api failure should show some juicy controversial items.
(Docs, tests and more file generators/checks to come later.)
https://bugs.python.org/issue43795
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Each section is sorted to reduce diffs (review effort) when the file
becomes generated.
Sort is done with key=str.lower to preserve most of the original order
(underscored items first).
|
I anticipate discussions taking a while, so I also opened #25312 to reduce diffs for reviewers.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
- The tool – I'm commandeering and assimilating
Tools/scripts/stable_abi.py – @pablogsal, hope you're OK with that. I prefixed all the tool/platform-specific functions with gcc or binutils
👍 No problem, go ahead :)
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
PyMarshal_*, PyMember_{Get,Set}One, PyThreadState_DeleteCurrent,
Py_GetArgcArgv are not declared with Py_LIMITED_API,
so they're not part of the limited API. They stay in the stable ABI, though.
PyInterpreterState_GetID part of limited API and stable ABI.
PyOS_ReadlineFunctionPointer is removed from the stable ABI records,
as functions expecting FILE* are not part of the ABI. Ssee bpo-43868.
|
🤖 New build scheduled with the buildbot fleet by @encukou for commit 89e86c9 🤖
If you want to schedule another build, you need to add the ":hammer: test-with-buildbots" label again.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Despite some buildbots timing out os failing socket, I call this ready for review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Apr 29, 2021
This was referenced Apr 29, 2021
Reviewers
vstinner
Awaiting requested review from vstinner
pablogsal
Awaiting requested review from pablogsal
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|