Peter Bierma
3f6aca1be4
gh-141004: Document PyMemoryView_Type (GH-141034)
2025-11-05 11:45:13 -05:00
Peter Bierma
35528fccdc
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
---------
Co-authored-by: Petr Viktorin <encukou@gmail.com>
2025-11-05 09:13:57 -05:00
Petr Viktorin
d81e1ef0f3
gh-138189: Document type slots, and other constants, as part of Limited API (GH-138190)
...
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-11-04 22:58:53 +01:00
Stan Ulbrych
bfe54810c4
gh-141004: Document Py_UNICODE_{HIGH, LOW}_SURROGATE functions (GH-141019)
2025-11-04 16:19:06 -05:00
Petr Viktorin
3f2b83e959
Fix minor typos and wording in C API docs ( #140955 )
2025-11-03 22:04:46 +02:00
RayXu
173cc53d9f
Docs: avoid informal formulation in Doc/c-api/conversion.rst ( #140898 )
2025-11-02 13:49:49 +00:00
Sergey Miryanov
da65f38a94
gh-134786: raise error if Py_TPFLAGS_MANAGED_WEAKREF or Py_TPFLAGS_MANAGED_DICT is used without Py_TPFLAGS_HAVE_GC set ( #135863 )
2025-11-02 16:34:49 +05:30
RayXu
d12cbf2865
Docs: fix some grammatical errors in Doc/c-api/dict.rst ( #140899 )
2025-11-02 09:31:26 +01:00
RayXu
d12086e822
Docs: Replace "encoder" with "decoder" in Doc/c-api/codec.rst ( #140613 )
2025-10-27 10:43:24 +01:00
da-woods
f5da369e20
Fix typo in TLS docs ( #140640 )
2025-10-27 10:28:30 +05:30
RayXu
33b2ca80bb
Docs: Fix a grammatical error in Doc/c-api/codec.rst ( #140612 )
2025-10-26 10:39:32 +01:00
RayXu
d74a96366d
Fix typo in Doc/c-api/code.rst ( #140586 )
2025-10-25 17:34:45 +02:00
RayXu
4ad599501f
Docs: Fix a grammatical error in Doc/c-api/capsule.rst (GH-140577)
...
"who" -> "which"
2025-10-25 09:54:52 -04:00
Petr Viktorin
289360ae63
Document that PyModule_GetDef can return NULL with or without setting an exception (GH-140529)
2025-10-24 15:28:48 +02:00
RayXu
fc2e23c2ed
Docs: Fix a grammatical error in Doc/c-api/arg.rst (GH-140525)
...
"have" -> "has"
2025-10-24 08:17:52 -04:00
Peter Holloway
3c2781dc5f
Fix typo in PyIter_Send docs ( #140336 )
2025-10-20 14:23:57 +05:30
Tomasz DÄ…dela
67c98ad8ef
gh-133059: Update documentation of preallocated integer range in long.rst (GH-140231)
2025-10-17 06:32:02 -04:00
Tan Long
2ebd0cdb16
Remove duplicate words in the documentation ( #140221 )
2025-10-16 18:27:00 +01:00
Victor Stinner
4126d9f1ab
gh-129813: Enhance PyBytesWriter documentation ( #140152 )
...
Co-authored-by: Antoine Pitrou <pitrou@free.fr>
2025-10-15 14:54:18 +02:00
Hugo van Kemenade
aeff92d86a
Python 3.15.0a1
2025-10-14 13:46:08 +03:00
Mikhail Efimov
52996aaa78
gh-107073: fix relevant typo in PyObject_ClearManagedDict ( #140032 )
2025-10-13 13:23:09 +02:00
Dino Viehland
ff7bb565d8
gh-139924: Add PyFunction_PYFUNC_EVENT_MODIFY_QUALNAME event for function watchers ( #139925 )
...
Add PyFunction_PYFUNC_EVENT_MODIFY_QUALNAME event for function watchers
2025-10-10 15:25:38 -07:00
Victor Stinner
d0b18b19fa
gh-129813: Fix PyBytesWriter tests ( #139892 )
2025-10-10 13:01:06 +02:00
Victor Stinner
e31c22dbf9
gh-111489: Add PyTuple_FromArray() function ( #139691 )
2025-10-10 08:54:12 +02:00
Stan Ulbrych
d2deb8fdef
gh-101100: Fix reference warnings in c-api/init.rst documenting PyGILState_STATE ( #139572 )
2025-10-09 12:34:35 +03:00
Petr Viktorin
80cdf3ef74
Document that PyInterpreterState_GetDict returns a borrowed reference ( #139451 )
2025-10-01 09:46:06 +05:30
Bénédikt Tran
a5e0562350
gh-133644: remove PyWeakref_GetObject and PyWeakref_GET_OBJECT (GH-133657)
2025-09-24 11:25:56 +02:00
Peter Bierma
89ff88be89
Document Py_AddPendingCall() change with subinterpreters in 3.12 (GH-139117)
...
Prior to 3.9, Py_AddPendingCall() would always run pending calls in the main interpreter, but then each interpreter got their own ceval state, and they were scheduled for any interpreter. In GH-104813, this was undone, so Py_AddPendingCall() would always schedule for the main interpreter.
2025-09-18 12:10:41 +00:00
Rafael Fontenelle
d22b25081b
Remove unmatched closing parenthesis (GH-139082)
2025-09-18 10:01:09 +01:00
Rajhans Jadhao
e1eca8b308
gh-129368: In PyRun C API docs, clarify what a "start token" is ( #129935 )
2025-09-17 14:51:20 +00:00
Victor Stinner
9a8bc6d4a4
gh-129813, PEP 782: Add doc reference link ( #138986 )
2025-09-16 15:51:45 +02:00
Victor Stinner
d61dda52ba
gh-129813, PEP 782: Soft deprecate _PyBytes_Resize() ( #138964 )
...
Soft deprecate _PyBytes_Resize() and
PyBytes_FromStringAndSize(NULL, size).
2025-09-16 10:38:43 +02:00
Pablo Galindo Salgado
f01181b595
gh-138794: Communicate to PyRefTracer when they are being replaced ( #138797 )
2025-09-15 11:12:09 +01:00
sobolevn
baf7470515
gh-138886: Remove deprecated PySys_ResetWarnOptions C-API function ( #138887 )
2025-09-15 12:01:33 +03:00
sobolevn
1c984ba953
gh-136355: Deprecate -b and -bb CLI flags in 3.15 ( #136363 )
...
Co-authored-by: Victor Stinner <vstinner@python.org>
Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
2025-09-14 20:00:03 +03:00
Victor Stinner
c3fca5d478
gh-129813, PEP 782: Add PyBytesWriter_Format() ( #138824 )
...
Modify PyBytes_FromFormatV() to use the public PyBytesWriter API
rather than the _PyBytesWriter private API.
2025-09-12 14:21:57 +02:00
Victor Stinner
adb414044f
gh-129813, PEP 782: Add PyBytesWriter C API ( #138822 )
2025-09-12 13:41:59 +02:00
Sergey B Kirpichev
fd2e3d1633
Add impl-detail block for PyLong_FromLong docs ( #126422 )
...
Co-authored-by: Brian Schubert <brianm.schubert@gmail.com>
2025-09-09 11:22:40 +02:00
sobolevn
4f0c267b40
gh-138644: Update c-api docs of PyInterpreterState about PEP-684 ( #138651 )
...
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-09-08 16:44:44 +03:00
Petr Viktorin
0c74fc8af0
gh-137210: Add a struct, slot & function for checking an extension's ABI (GH-137212)
...
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
2025-09-05 16:23:18 +02:00
Kumar Aditya
5ae8b97f6b
enhance docs for critical sections ( #137334 )
2025-08-26 22:43:02 +05:30
PrinceNaroliya
9ee0214b5d
gh-138098: Clarify strong references in PyDict_Next docs on the free-threaded build (GH-138106)
2025-08-25 10:53:26 -04:00
Sergey Miryanov
5baa7a0de0
gh-95245: Document Py_TPFLAGS_PREHEADER (GH-135861)
...
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
2025-08-25 12:15:51 +02:00
Steve Dower
7d06a0af17
gh-120037: Disable user site packages when a ._pth file is used (GH-137428)
2025-08-19 21:28:28 +01:00
Sergey B Kirpichev
bc4996c125
gh-128813: cleanup C-API docs for PyComplexObject (GH-137579)
...
* move non-deprecated API up
* make a dedicated section for deprecated low-leved API
2025-08-11 13:51:39 +02:00
da-woods
70218b4008
Fix documentation of hash in PyHash_FuncDef ( #137595 )
...
Because of a small typo, it wasn't showing up in the generated docs.
2025-08-11 13:18:37 +02:00
Sergey B Kirpichev
9743d069bd
gh-128813: deprecate cval field of the PyComplexObject struct ( #137271 )
...
Co-authored-by: Petr Viktorin <encukou@gmail.com>
Co-authored-by: Victor Stinner <vstinner@python.org>
2025-08-08 10:36:42 +00:00
Sergey B Kirpichev
4dd85b347f
gh-137368: document __index__() support for PyLong_AsInt32/64() (GH-137369)
2025-08-04 15:30:29 +02:00
Serhiy Storchaka
1612dcbafe
gh-137341: Remove more word duplications (GH-137342)
2025-08-03 19:41:12 +03:00
Sergey B Kirpichev
9ced5c4ace
gh-128813: soft-deprecate _Py_c_*() functions (GH-137261)
2025-08-01 09:40:12 +02:00