cpython/Doc/c-api
Sam Gross d23f5701ad
gh-128844: Make _Py_TryIncref public as an unstable API. (#128926)
This exposes `_Py_TryIncref` as `PyUnstable_TryIncref()` and the helper
function `_PyObject_SetMaybeWeakref` as `PyUnstable_EnableTryIncRef`.

These are helpers for dealing with unowned references in a safe way,
particularly in the free threading build.

Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-01-28 19:32:27 +00:00
..
abstract.rst
allocation.rst
apiabiversion.rst gh-128629: Add Py_PACK_VERSION and Py_PACK_FULL_VERSION (GH-128630) 2025-01-09 11:10:28 +01:00
arg.rst gh-90241: Clarify documentation for PyUnicode_FSConverter and PyUnicode_FSDecoder (GH-128451) 2025-01-06 13:28:50 +01:00
bool.rst
buffer.rst
bytearray.rst
bytes.rst
call.rst
capsule.rst
cell.rst
code.rst
codec.rst
complex.rst gh-69639: Add mixed-mode rules for complex arithmetic (C-like) (GH-124829) 2024-11-26 17:57:39 +02:00
concrete.rst
contextvars.rst
conversion.rst
coro.rst
datetime.rst
descriptor.rst
dict.rst
exceptions.rst gh-123378: Ensure results of PyUnicode*Error_Get{Start,End} are clamped (GH-123380) 2024-12-04 14:13:52 +01:00
file.rst
float.rst
frame.rst gh-118915: C API: Document frame locals proxies. (#127720) 2024-12-11 17:28:44 +01:00
function.rst
gcsupport.rst
gen.rst
hash.rst
import.rst
index.rst
init.rst Complete doc of pending C API removals in Python 3.15 (#129032) 2025-01-19 22:47:05 +01:00
init_config.rst Add Configuration Options table to PyInitConfig API doc (#129062) 2025-01-20 15:46:45 +01:00
intro.rst
iter.rst
iterator.rst
list.rst
long.rst gh-102471: Change PyLongWriter_Discard(NULL) to do nothing (#129339) 2025-01-27 10:51:16 +00:00
mapping.rst
marshal.rst gh-125063: marshal: Add version 5, improve documentation (GH-126829) 2024-11-15 13:48:57 +01:00
memory.rst
memoryview.rst
method.rst
module.rst
monitoring.rst GH-122548: Implement branch taken and not taken events for sys.monitoring (GH-122564) 2024-12-19 16:59:51 +00:00
none.rst
number.rst
object.rst gh-128844: Make _Py_TryIncref public as an unstable API. (#128926) 2025-01-28 19:32:27 +00:00
objimpl.rst
perfmaps.rst
refcounting.rst
reflection.rst
sequence.rst gh-127896: Add missing documentation of PySequence_In (GH-127979) 2024-12-16 14:56:04 +01:00
set.rst
slice.rst
stable.rst gh-127253: Note that Stable ABI is about ABI stability (GH-127254) 2024-12-03 13:30:27 +01:00
structures.rst
sys.rst Python 3.14.0a4 2025-01-14 13:52:58 +02:00
time.rst
tuple.rst
type.rst Docs: Fix incorrect indents in c-api/type.rst (#127449) 2024-11-30 15:01:15 +00:00
typehints.rst
typeobj.rst Docs: Fix comment out in c-api/typeobj.rst (#128266) 2024-12-26 20:09:44 +05:30
unicode.rst Docs C API: Clarify what happens when null bytes are passed to PyUnicode_AsUTF8 (#127458) 2025-01-20 16:54:29 +01:00
utilities.rst
veryhigh.rst gh-118915: C API: Document compiler flag macros (GH-129028) 2025-01-20 17:45:08 +01:00
weakref.rst gh-128008: Add PyWeakref_IsDead() (GH-128009) 2024-12-19 16:17:15 +01:00