Skip to content

Commit 6864e53

Browse files
committed
Document the behavior
1 parent 5b0fd70 commit 6864e53

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

Doc/c-api/refcounting.rst

+3
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ of Python objects.
3434
3535
Set the object *o* reference counter to *refcnt*.
3636
37+
On ref:`Python build with Free Threading <free-threading-buid>`, if *refcnt*
38+
is larger than ``UINT32_MAX``, the object is made :term:`immortal`.
39+
3740
This function has no effect on :term:`immortal` objects.
3841
3942
.. versionadded:: 3.9

Doc/using/configure.rst

+2
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,8 @@ General Options
287287

288288
.. versionadded:: 3.11
289289

290+
.. _free-threading-buid:
291+
290292
.. option:: --disable-gil
291293

292294
Enables **experimental** support for running Python without the

0 commit comments

Comments
 (0)