Miss Islington (bot)
c38d8607d2
[3.13] gh-141004: Document C APIs for dictionary keys, values, and items (GH-141009) (GH-141513)
...
gh-141004: Document C APIs for dictionary keys, values, and items (GH-141009)
(cherry picked from commit f72768f30e )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-11-13 15:09:23 +00:00
Petr Viktorin
6916bfb800
[3.13] gh-138189: Document type slots, and other constants, as part of Limited API (GH-138190) (GH-141193)
...
(cherry picked from commit d81e1ef0f3 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-13 13:28:57 +01:00
Peter Bierma
39de3f87c1
[3.13] gh-141004: Document PyType_SUPPORTS_WEAKREFS (GH-141408) (GH-141487)
...
* gh-141004: Document `PyType_SUPPORTS_WEAKREFS` (GH-141408)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
(cherry picked from commit 9cd5427d96 )
2025-11-12 23:02:58 +00:00
Miss Islington (bot)
f127ff7daf
[3.13] gh-141004: Document PyRun_InteractiveOneObject (GH-141405) (GH-141486)
...
gh-141004: Document `PyRun_InteractiveOneObject` (GH-141405)
(cherry picked from commit 26b7df2430 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-12 22:59:55 +00:00
Miss Islington (bot)
7ca34db12b
[3.13] gh-141004: Document Py_MATH_{E, PI, TAU} constants (GH-141373) ( #141472 )
...
gh-141004: Document `Py_MATH_{E, PI, TAU}` constants (GH-141373)
(cherry picked from commit f1330b35b8 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-12 17:03:55 +00:00
Miss Islington (bot)
c317cf51f1
[3.13] gh-141370: document undefined behavior of Py_ABS() (GH-141439) (GH-141455)
...
(cherry picked from commit 20f53df07d )
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2025-11-12 09:57:08 +00:00
Peter Bierma
51c60f3681
[3.13] gh-141004: Document PyBytes_Repr and PyBytes_DecodeEscape (GH-141407) (GH-141441)
...
* gh-141004: Document `PyBytes_Repr` and `PyBytes_DecodeEscape` (GH-141407)
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
(cherry picked from commit 37e2762ee1 )
2025-11-12 02:08:28 +00:00
Miss Islington (bot)
b28ba31c69
[3.13] gh-141004: Document PyFile_OpenCode and PyFile_OpenCodeObject (GH-141413) (GH-141426)
...
gh-141004: Document `PyFile_OpenCode` and `PyFile_OpenCodeObject` (GH-141413)
(cherry picked from commit 2befce86e6 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-11 16:48:36 -05:00
Miss Islington (bot)
07a6bdd765
[3.13] gh-141004: Document PyType_Unwatch (GH-141414) (GH-141419)
...
gh-141004: Document `PyType_Unwatch` (GH-141414)
(cherry picked from commit 759a048d4b )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-11 17:28:52 +00:00
Sergey B Kirpichev
05e7b0dadf
[3.13] gh-141004: document Py_INFINITY and Py_NAN macros (GH-141145) ( #141400 )
...
(cherry picked from commit d69447445c )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-11 14:52:05 +01:00
Miss Islington (bot)
a8c9aff84f
[3.13] gh-141004: Document missing frame APIs (GH-141189) (GH-141380)
...
gh-141004: Document missing frame APIs (GH-141189)
(cherry picked from commit 86513f6c2e )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-10 21:42:04 +00:00
Miss Islington (bot)
d15841342d
[3.13] gh-141004: Document PyType_FastSubclass (GH-141313) (GH-141369)
...
gh-141004: Document `PyType_FastSubclass` (GH-141313)
(cherry picked from commit ed0a5fd8ca )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-10 17:52:22 +00:00
Petr Viktorin
6384c7917d
[3.13] Clarify argument/result ownership/validity for PyModule_* functions (GH-141159) (GH-141191)
...
(cherry picked from commit ffd64737d0 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-10 15:06:58 +01:00
Miss Islington (bot)
9cbbb2eb21
[3.13] gh-141004: Document pyctype.h macros (GH-141272) (GH-141339)
...
gh-141004: Document `pyctype.h` macros (GH-141272)
(cherry picked from commit df19261621 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-10 10:11:39 +00:00
Miss Islington (bot)
70bcf946f1
[3.13] gh-141004: Document Py_DTSF_* macros (GH-141310) (GH-141330)
...
gh-141004: Document `Py_DTSF_*` macros (GH-141310)
(cherry picked from commit 9b0179fa87 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-10 00:49:30 +00:00
Miss Islington (bot)
5ad2842915
[3.13] gh-141004: Document PySuper_Type (GH-141315) (GH-141319)
...
gh-141004: Document `PySuper_Type` (GH-141315)
(cherry picked from commit 14c62227f9 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-09 20:01:33 +00:00
Miss Islington (bot)
811fd8f4a4
[3.13] gh-141004: Document PyClassMethod* and PyStaticMethod* APIs (GH-141296) (GH-141309)
...
gh-141004: Document `PyClassMethod*` and `PyStaticMethod*` APIs (GH-141296)
(cherry picked from commit 807db68ddd )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-09 18:09:43 +00:00
Miss Islington (bot)
aa2c8ea1e7
[3.13] gh-141004: Document PyFunction_SetKwDefaults (GH-141294) (GH-141305)
...
gh-141004: Document `PyFunction_SetKwDefaults` (GH-141294)
(cherry picked from commit 18529b580b )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-09 17:55:02 +00:00
Miss Islington (bot)
a9619899fc
[3.13] gh-141004: Document PyExceptionInstance* APIs (GH-141301) (GH-141303)
...
gh-141004: Document `PyExceptionInstance*` APIs (GH-141301)
(cherry picked from commit b5a0c72492 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-09 12:20:18 -05:00
Miss Islington (bot)
92ae15802d
[3.13] gh-141004: Document Py_func_type_input (GH-141273) (GH-141299)
...
gh-141004: Document `Py_func_type_input` (GH-141273)
(cherry picked from commit 8dd8498286 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-09 16:28:26 +00:00
Miss Islington (bot)
2dd8812850
[3.13] gh-141004: document curses C API (GH-141254) ( #141293 )
...
gh-141004: document `curses` C API (GH-141254)
(cherry picked from commit dbe40904a7 )
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-11-09 15:50:46 +00:00
Miss Islington (bot)
a6d980472d
[3.13] gh-141004: Document PyWeakref_CheckRefExact (GH-141279) (GH-141291)
...
gh-141004: Document `PyWeakref_CheckRefExact` (GH-141279)
(cherry picked from commit 60155329a0 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-09 15:39:53 +00:00
Peter Bierma
7b3f7ffb47
[3.13] gh-141004: Document deprecated aliases for memory allocation (GH-141146) (GH-141289)
...
* gh-141004: Document deprecated aliases for memory allocation (GH-141146)
(cherry picked from commit 1d738dea63 )
2025-11-09 15:37:13 +00:00
Miss Islington (bot)
1cd0b74350
[3.13] gh-141004: Document Py_BUILD_ASSERT* macros (GH-141266) (GH-141270)
...
gh-141004: Document `Py_BUILD_ASSERT*` macros (GH-141266)
(cherry picked from commit 0ac890bea7 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-08 19:28:32 +00:00
Miss Islington (bot)
2a300e3642
[3.13] gh-141004: Document the PyDoc_VAR macro (GH-141263) (GH-141265)
...
gh-141004: Document the `PyDoc_VAR` macro (GH-141263)
(cherry picked from commit 545299773b )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-08 18:20:56 +00:00
Miss Islington (bot)
10d44f72e5
[3.13] gh-141004: Document PyBUF_WRITEABLE (GH-141255) (GH-141260)
...
gh-141004: Document `PyBUF_WRITEABLE` (GH-141255)
(cherry picked from commit 5e5fc0404e )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-08 17:37:04 +00:00
Miss Islington (bot)
e46b808978
[3.13] gh-141004: Document PyErr_ProgramTextObject and PyErr_ProgramText (GH-141250) (GH-141257)
...
gh-141004: Document `PyErr_ProgramTextObject` and `PyErr_ProgramText` (GH-141250)
(cherry picked from commit be1c72a45d )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-08 15:53:28 +00:00
Miss Islington (bot)
f8147a0316
[3.13] gh-141004: correctly document Py_HASH_* and PyHASH_* as hash_info attributes (GH-141233) ( #141235 )
...
gh-141004: correctly document `Py_HASH_*` and `PyHASH_*` as `hash_info` attributes (GH-141233)
(cherry picked from commit 87942d911b )
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-11-08 12:29:55 +00:00
Miss Islington (bot)
a728f7f89f
[3.13] gh-141004: Document Py_HASH_* macros (GH-141205) ( #141224 )
...
* gh-141004: Document `Py_HASH_*` macros (GH-141205)
(cherry picked from commit 3989e12d39 )
(cherry picked from commit 8cec3d3a9d )
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
2025-11-08 09:22:02 +00:00
Miss Islington (bot)
0efb799852
[3.13] gh-141004: Document PyTraceBack* APIs (GH-141192) (GH-141211)
...
gh-141004: Document `PyTraceBack*` APIs (GH-141192)
(cherry picked from commit d13ee0ae18 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-07 18:53:05 +00:00
Miss Islington (bot)
26c2a49857
[3.13] gh-141004: Document PyErr_WarnExplicitFormat (GH-141187) (GH-141203)
...
gh-141004: Document `PyErr_WarnExplicitFormat` (GH-141187)
(cherry picked from commit 9420795b47 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-07 16:25:58 +00:00
Miss Islington (bot)
09cc93dc67
[3.13] gh-141004: Document PyCapsule_Type (GH-141079) (GH-141198)
...
gh-141004: Document `PyCapsule_Type` (GH-141079)
(cherry picked from commit 7af9b5354d )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-07 14:16:14 +00:00
Miss Islington (bot)
00032a4245
[3.13] gh-141004: Document Py_GetRecursionLimit and Py_SetRecursionLimit (GH-141151) (GH-141157)
...
* gh-141004: Document `Py_GetRecursionLimit` and `Py_SetRecursionLimit` (GH-141151)
(cherry picked from commit 0b260305d3 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
---------
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-06 17:00:03 +00:00
Peter Bierma
908695b5c7
[3.13] gh-141004: Document PyLong_FromPid and PyLong_AsPid (GH-141028) (GH-141143)
...
* gh-141004: Document `PyLong_FromPid` and `PyLong_AsPid` (GH-141028)
Co-authored-by: Victor Stinner <vstinner@python.org>
(cherry picked from commit bcc524f82d )
2025-11-06 14:10:24 +00:00
Miss Islington (bot)
ccbee02436
[3.13] gh-141004: Document Py_hexdigits (GH-141059) (GH-141139)
...
gh-141004: Document `Py_hexdigits` (GH-141059)
(cherry picked from commit 54110e20e0 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-11-06 13:56:14 +00:00
Miss Islington (bot)
a8cd8f0441
[3.13] gh-141004: Document built-in iterator types in the C API (GH-141006) (GH-141135)
...
gh-141004: Document built-in iterator types in the C API (GH-141006)
Adds documentation for each of the following:
- PyEnum_Type
- PyFilter_Type
- PyMap_Type
- PyReversed_Type
- PyZip_Type
In addition, PyRange_Type and PyRange_Check are also documented.
(cherry picked from commit 1697cb5710 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-06 12:35:31 +00:00
Miss Islington (bot)
fc059dbe55
[3.13] gh-141004: Document PyDict_GET_SIZE (GH-141078) (GH-141083)
...
gh-141004: Document `PyDict_GET_SIZE` (GH-141078)
(cherry picked from commit f0ab07f22c )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-05 22:41:16 +00:00
Miss Islington (bot)
4907f37eed
[3.13] gh-141004: Document Py_RETURN_NAN and Py_RETURN_INF (GH-141029) (GH-141075)
...
gh-141004: Document `Py_RETURN_NAN` and `Py_RETURN_INF` (GH-141029)
(cherry picked from commit 5b02c6e920 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
2025-11-05 22:06:41 +00:00
Miss Islington (bot)
7ac9048ce9
[3.13] gh-141004: Document PyMemoryView_Type (GH-141034) (GH-141055)
...
gh-141004: Document `PyMemoryView_Type` (GH-141034)
(cherry picked from commit 3f6aca1be4 )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-05 16:51:31 +00:00
Miss Islington (bot)
a3756c6ea0
[3.13] gh-141004: Document missing iterator types in the C API (GH-141010) (GH-141047)
...
gh-141004: Document missing iterator types in the C API (GH-141010)
Add documentation for each of the following:
- PyByteArrayIter_Type
- PyBytesIter_Type
- PyListIter_Type
- PyListRevIter_Type
- PySetIter_Type
- PyTupleIter_Type
- PyRangeIter_Type
- PyLongRangeIter_Type
- PyDictIterKey_Type
- PyDictRevIterKey_Type
- PyDictIterValue_Type
- PyDictRevIterValue_Type
- PyDictIterItem_Type
- PyDictRevIterItem_Type
---------
(cherry picked from commit 35528fccdc )
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-11-05 14:22:32 +00:00
Miss Islington (bot)
82ed4d0707
[3.13] gh-141004: Document Py_UNICODE_{HIGH, LOW}_SURROGATE functions (GH-141019) (GH-141026)
...
gh-141004: Document `Py_UNICODE_{HIGH, LOW}_SURROGATE` functions (GH-141019)
(cherry picked from commit bfe54810c4 )
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-11-04 21:24:52 +00:00
Hugo van Kemenade
5a2bcbd452
[3.13] Fix minor typos and wording in C API docs (GH-140955) ( #140967 )
...
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-11-04 09:46:18 +02:00
Miss Islington (bot)
b8910fc444
[3.13] Docs: avoid informal formulation in Doc/c-api/conversion.rst (GH-140898) ( #140913 )
...
Docs: avoid informal formulation in `Doc/c-api/conversion.rst` (GH-140898)
(cherry picked from commit 173cc53d9f )
Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
2025-11-02 13:57:03 +00:00
Miss Islington (bot)
6ba31ca5d5
[3.13] Docs: fix some grammatical errors in Doc/c-api/dict.rst (GH-140899) ( #140902 )
...
Docs: fix some grammatical errors in `Doc/c-api/dict.rst` (GH-140899)
(cherry picked from commit d12cbf2865 )
Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
2025-11-02 08:39:12 +00:00
Miss Islington (bot)
134e2f8d7f
[3.13] Docs: Replace "encoder" with "decoder" in Doc/c-api/codec.rst (GH-140613) ( #140662 )
...
Docs: Replace "encoder" with "decoder" in `Doc/c-api/codec.rst` (GH-140613)
(cherry picked from commit d12086e822 )
Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
2025-10-27 09:51:34 +00:00
Miss Islington (bot)
d64b05b284
[3.13] Docs: Fix a grammatical error in Doc/c-api/codec.rst (GH-140612) ( #140617 )
...
Docs: Fix a grammatical error in `Doc/c-api/codec.rst` (GH-140612)
(cherry picked from commit 33b2ca80bb )
Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
2025-10-26 09:45:42 +00:00
Miss Islington (bot)
df86b18f7f
[3.13] Fix typo in Doc/c-api/code.rst (GH-140586) ( #140592 )
...
Fix typo in `Doc/c-api/code.rst` (GH-140586)
(cherry picked from commit d74a96366d )
Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
2025-10-25 15:43:00 +00:00
Miss Islington (bot)
01cab860c0
[3.13] Docs: Fix a grammatical error in Doc/c-api/capsule.rst (GH-140577) (GH-140581)
...
Docs: Fix a grammatical error in `Doc/c-api/capsule.rst` (GH-140577)
"who" -> "which"
(cherry picked from commit 4ad599501f )
Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
2025-10-25 14:03:25 +00:00
Miss Islington (bot)
5c99b6c576
[3.13] Document that PyModule_GetDef can return NULL with or without setting an exception (GH-140529) (GH-140546)
...
(cherry picked from commit 289360ae63 )
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-10-24 13:37:09 +00:00
Miss Islington (bot)
7564125ed1
[3.13] Docs: Fix a grammatical error in Doc/c-api/arg.rst (GH-140525) (GH-140539)
...
Docs: Fix a grammatical error in `Doc/c-api/arg.rst` (GH-140525)
"have" -> "has"
(cherry picked from commit fc2e23c2ed )
Co-authored-by: RayXu <140802139+F18-Maverick@users.noreply.github.com>
2025-10-24 12:24:41 +00:00