FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-137210: Add a struct, slot & function for checking an extension's ABI by encukou · Pull Request #137212 · python/cpython · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension .rst  (2) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
Prev Previous commit
Next Next commit
Fix docs
  • Loading branch information
encukou committed Jul 29, 2025
commit aa1eb4a70703242cb9bcbf2e6355a1c36d9c4033
10 changes: 5 additions & 5 deletions Doc/c-api/stable.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
Expand Up @@ -259,20 +259,20 @@ The full API is described below for advanced use cases.

.. c:type:: PyABIInfo

.. c:member:: uint8_t PyABIInfo.abiinfo_major_version
.. c:member:: uint8_t abiinfo_major_version

The major version of :c:struct:`PyABIInfo`. Can be set to:

* ``0`` to skip all checking, or
* ``1`` to specify this version of :c:struct:`!PyABIInfo`.

.. c:member:: uint8_t PyABIInfo.abiinfo_minor_version
.. c:member:: uint8_t abiinfo_minor_version

The major version of :c:struct:`PyABIInfo`.
Must be set to ``0``; larger values are reserved for backwards-compatible
future versions of :c:struct:`!PyABIInfo`.

.. c:member:: uint16_t PyABIInfo.flags
.. c:member:: uint16_t flags

.. c:namespace:: NULL

Expand Down Expand Up @@ -311,7 +311,7 @@ The full API is described below for advanced use cases.
Specifies ABI compatible with non-free-threading builds of CPython
(ones compiled *without* :option:`--disable-gil`).

.. c:member:: uint32_t PyABIInfo.build_version
.. c:member:: uint32_t build_version

The version of the Python headers used to build the code, in the format
used by :c:macro:`PY_VERSION_HEX`.
Expand All @@ -320,7 +320,7 @@ The full API is described below for advanced use cases.
This option is meant mainly for projects that do not use the CPython
headers directly, and do not emulate a specific version of them.

.. c:member:: uint32_t PyABIInfo.abi_version
.. c:member:: uint32_t abi_version

The ABI version.

Expand Down
3 changes: 3 additions & 0 deletions Doc/using/configure.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
Expand Up @@ -293,6 +293,9 @@ General Options

.. option:: --disable-gil

.. c:macro:: Py_GIL_DISABLED
:no-typesetting:

Enables support for running Python without the :term:`global interpreter
lock` (GIL): free threading build.

Expand Down

Back | FazBrowse Home | New Git URL