Skip to content

Commit

Permalink
respond to ralf's suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoldbaum committed Nov 4, 2024
1 parent 7fd8b71 commit 4768ddf
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions docs/porting.md
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,8 @@ The free-threaded build does not support the limited CPython C API. If you
currently use the limited API to build wheels that do not depend on a specific
Python version, you will not be able to use it while shipping binaries for the
free-threaded build. In practice, the limited API is a subset of the full C API,
so your extension will almost certainly build, you just cannot set
`Py_LIMITED_API` at build time. This also means that code inside `#ifdef Py_GIL_DISABLED` checks can use C API constructs outside the limited API if you
would like to do that, although these uses will need to be removed once the
free-threaded build gains support for compiling with the limited API.
so your extension will build, you just cannot set `Py_LIMITED_API` at build
time. This also means that code inside `#ifdef Py_GIL_DISABLED` checks can use C
API constructs outside the limited API if you would like to do that, although
these uses will need to be removed once the free-threaded build gains support
for compiling with the limited API.

0 comments on commit 4768ddf

Please sign in to comment.