-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
Documentation about PyTypeObject being part of the Stable ABI #95300
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
Comments
The former quote should probably read Limited API, not Stable ABI. cc. @encukou |
Technically |
This is fixed in https://docs.python.org/3.11/c-api/type.html#c.PyTypeObject |
PR is at #95711 |
I think https://docs.python.org/3/c-api/typeobj.html#static-types still needs to be fixed. https://docs.python.org/3/c-api/stable.html says:
It's not that |
It's both. (The first part of |
Suggesting to close this as fixed. |
@ov2k, please feel free to comment if you disagree, have other suggestions, or if something is unclear. |
That's exactly my point, but perhaps I wasn't being clear enough. https://docs.python.org/3/c-api/typeobj.html#static-types makes no reference to
|
It makes sense to me, but I've been thinking about API/ABI way too much :) |
…ythonGH-96217) Fixes: python#95300 Related: python#91271 (cherry picked from commit caa2a97) Co-authored-by: ov2k <ov2k.github@gmail.com>
…ythonGH-96217) Fixes: python#95300 Related: python#91271 (cherry picked from commit caa2a97) Co-authored-by: ov2k <ov2k.github@gmail.com>
https://docs.python.org/3/c-api/typeobj.html#static-types says:
https://docs.python.org/3/c-api/type.html#c.PyTypeObject says:
I'm not sure what needs to be fixed, but something does. Can extension modules using the Stable ABI use static types now?
The text was updated successfully, but these errors were encountered: