summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
Commit message (Collapse)AuthorAgeFilesLines
* Python 3.15.0a3v3.15.0a3Hugo van Kemenade2025-12-164-20/+20
|
* Clarify that PyStructSequence is different from collections.namedtuple (#142626)Petr Viktorin2025-12-161-2/+5
|
* typo fixes in docs (#142683)SYan2122025-12-142-2/+2
|
* GH-65961: Stop setting `__cached__` on modules (GH-142165)Brett Cannon2025-12-111-7/+12
|
* gh-123241: Document restrictions for `tp_traverse` implementations (gh-142272)Sam Gross2025-12-082-0/+9
|
* gh-101100: Fix references to the set methods (GH-141857)Serhiy Storchaka2025-12-051-1/+1
|
* gh-141004: Document descriptor and dict proxy type objects (GH-141803)Yashraj2025-12-012-0/+53
| | | | Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-140550: PEP 793 reference documentation (GH-141197)Petr Viktorin2025-11-266-273/+709
| | | | | | | | | | | * gh-140550: PEP 793 reference documentation Since the PEP calls for soft-deprecation of the existing initialization function, this reorganizes the relevant docs to put the new way of doing things first, and de-emphasize the old. Some bits, like the tutorial, are left out of this patch. (See the issue for a list.)
* gh-141004: Document missing `PyThread*` APIs (GH-141810)Peter Bierma2025-11-251-0/+217
| | | Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-141909: Add `PyModuleDef_Slot` and earlier Py_mod_* constants to stable ↵Petr Viktorin2025-11-251-0/+4
| | | | | | | | ABI manifest (#141910) These were added to the limited API in 3.5. Not including them in `Misc/stable_abi.toml` was a bug.
* gh-141004: Document `PyOS_mystr(n)icmp` (#141760)Stan Ulbrych2025-11-251-6/+23
| | | Co-authored-by: Petr Viktorin <encukou@gmail.com>
* gh-141004: Document stack effect C APIs (GH-141843)Peter Bierma2025-11-241-0/+40
| | | Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-141004: Document `PyImport_Inittab` (GH-141844)Peter Bierma2025-11-241-0/+7
| | | | Co-authored-by: Stan Ulbrych <stan@ulbrych.org> Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-141004: Document `Py_ARRAY_LENGTH` (GH-141601)Yashraj2025-11-241-0/+13
| | | | | Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
* gh-141729: Doc PyTypeObject.tp_vectorcall grammar fix (#141730)Michael Kiper2025-11-211-1/+1
| | | | | [3.14] Doc PyTypeObject.tp_vectorcall grammar fix Co-authored-by: makiper <michael.kiper@jpl.nasa.gov>
* gh-141004: Document missing `PyDateTime*` APIs (GH-141543)Peter Bierma2025-11-201-2/+46
| | | | Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-141004: Document missing generator APIs (GH-141409)Peter Bierma2025-11-201-0/+38
| | | Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-141004: Document `Py_MakePendingCalls` (GH-141137)Peter Bierma2025-11-201-0/+19
| | | Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-141004: Document `Py_LOCAL` and `Py_LOCAL_INLINE` (GH-141725)Stan Ulbrych2025-11-191-0/+11
|
* Merge branch 'main' of https://github.com/python/cpythonHugo van Kemenade2025-11-194-14/+41
|\
| * gh-141070: Add PyUnstable_Object_Dump() function (#141072)Victor Stinner2025-11-181-0/+29
| | | | | | | | | | | | | | | | | | | | * Promote _PyObject_Dump() as a public function. * Keep _PyObject_Dump() alias to PyUnstable_Object_Dump() for backward compatibility. * Replace _PyObject_Dump() with PyUnstable_Object_Dump(). Co-authored-by: Peter Bierma <zintensitydev@gmail.com> Co-authored-by: Kumar Aditya <kumaraditya@python.org> Co-authored-by: Petr Viktorin <encukou@gmail.com>
| * gh-138189: Link references to type slots (GH-141410)Petr Viktorin2025-11-183-14/+12
| | | | | | Link references to type slots
* | Python 3.15.0a2v3.15.0a2Hugo van Kemenade2025-11-182-3/+3
|/
* gh-141004: Document Py_HUGE_VAL/IS_FINITE/IS_INFINITE/IS_NAN (#141544)Sergey B Kirpichev2025-11-181-1/+37
| | | | Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
* gh-141004: Document `Py_MEMCPY` (GH-141676)Stan Ulbrych2025-11-171-0/+8
|
* gh-141004: Document `PyODict*` APIs (GH-141136)Peter Bierma2025-11-172-0/+90
|
* gh-141004: Document missing `PyCFunction*` and `PyCMethod*` APIs (GH-141253)Peter Bierma2025-11-161-0/+93
| | | Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
* gh-141004: Document the `PyPickleBuffer_*` C API (GH-141630)Stan Ulbrych2025-11-162-0/+60
| | | Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
* gh-141004: Document `PyOS_InterruptOccurred` (GH-141526)Stan Ulbrych2025-11-141-0/+18
|
* gh-116146: Add C-API to create module from spec and initfunc (GH-139196)Itamar Oren2025-11-141-0/+21
| | | | | Co-authored-by: Kumar Aditya <kumaraditya@python.org> Co-authored-by: Petr Viktorin <encukou@gmail.com> Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-141004: Document `PyErr_RangedSyntaxLocationObject` (#141521)Stan Ulbrych2025-11-131-0/+8
| | | PyErr_RangedSyntaxLocationObject
* gh-139653: Add PyUnstable_ThreadState_SetStackProtection() (#139668)Victor Stinner2025-11-132-0/+40
| | | | | | | | Add PyUnstable_ThreadState_SetStackProtection() and PyUnstable_ThreadState_ResetStackProtection() functions to set the stack base address and stack size of a Python thread state. Co-authored-by: Petr Viktorin <encukou@gmail.com>
* gh-141004: Document `PyCode_Optimize` (GH-141378)Peter Bierma2025-11-131-0/+11
|
* gh-141004: Document C APIs for dictionary keys, values, and items (GH-141009)Peter Bierma2025-11-131-0/+46
| | | Co-authored-by: Petr Viktorin <encukou@gmail.com>
* gh-141004: Document `PyRun_InteractiveOneObject` (GH-141405)Peter Bierma2025-11-121-9/+16
|
* gh-141004: Document `PyType_SUPPORTS_WEAKREFS` (GH-141408)Peter Bierma2025-11-122-0/+34
| | | Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
* gh-141004: Document `Py_MATH_{E, PI, TAU}` constants (#141373)Stan Ulbrych2025-11-121-0/+17
|
* gh-141004: soft-deprecate Py_INFINITY macro (#141033)Sergey B Kirpichev2025-11-122-3/+6
| | | Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-141370: document undefined behavior of Py_ABS() (GH-141439)Sergey B Kirpichev2025-11-121-0/+4
|
* gh-141004: Document `PyBytes_Repr` and `PyBytes_DecodeEscape` (GH-141407)Peter Bierma2025-11-111-0/+36
| | | Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
* gh-141004: Document `PyFile_OpenCode` and `PyFile_OpenCodeObject` (GH-141413)Peter Bierma2025-11-111-0/+23
| | | Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
* gh-141004: Document `PyType_Unwatch` (GH-141414)Peter Bierma2025-11-111-0/+14
|
* gh-141004: document Py_INFINITY and Py_NAN macros (#141145)Sergey B Kirpichev2025-11-111-0/+18
| | | Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
* gh-141004: Document missing frame APIs (GH-141189)Peter Bierma2025-11-101-0/+57
| | | Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
* gh-141004: Document `PyType_FastSubclass` (GH-141313)Stan Ulbrych2025-11-102-2/+14
| | | Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
* gh-141004: Deprecate Py_MATH_El and Py_MATH_PIl macros (#141035)Sergey B Kirpichev2025-11-101-0/+14
| | | Co-authored-by: Victor Stinner <vstinner@python.org>
* gh-141004: Document `pyctype.h` macros (GH-141272)Stan Ulbrych2025-11-101-0/+55
|
* gh-141004: Document `Py_DTSF_*` macros (GH-141310)Stan Ulbrych2025-11-101-9/+19
|
* gh-141004: Document `PySuper_Type` (GH-141315)Stan Ulbrych2025-11-091-0/+6
|
* gh-141004: Document `PyClassMethod*` and `PyStaticMethod*` APIs (GH-141296)Peter Bierma2025-11-091-0/+36
|