Petr Viktorin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								7d24ea9db3 
								
							 
						 
						
							
							
								
								gh-121277: Allow .. versionadded:: next in docs (GH-121278)  
							
							... 
							
							
							
							Make `versionchanged:: next`` expand to current (unreleased) version.
When a new CPython release is cut, the release manager will replace
all such occurences of "next" with the just-released version.
(See the issue for release-tools and devguide PRs.)
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> 
							
						 
						
							2024-09-25 23:30:40 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Alex Waygood 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0d9d56c4e4 
								
							 
						 
						
							
							
								
								gh-101100: Add a table of class attributes to the "Custom classes" section of the data model docs ( #124480 )  
							
							
							
						 
						
							2024-09-25 19:29:58 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Jason Fried 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								d87482bc4e 
								
							 
						 
						
							
							
								
								gh-119333: Add C api to have contextvar enter/exit callbacks ( #119335 )  
							
							... 
							
							
							
							Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 
							
						 
						
							2024-09-23 20:40:17 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Adam Turner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9d0a75269c 
								
							 
						 
						
							
							
								
								GH-109975: Copyedit 3.13 What's New: C API ( #124313 )  
							
							
							
						 
						
							2024-09-23 14:28:17 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Viktorin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								32119fc377 
								
							 
						 
						
							
							
								
								gh-118915: Add/fix docs entries for some new 3.13 C API (GH-124134)  
							
							
							
						 
						
							2024-09-18 14:15:43 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sergey B Kirpichev 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								8a284e1896 
								
							 
						 
						
							
							
								
								gh-119771: Set errno on overflows in _Py_c_pow() ( #120256 )  
							
							... 
							
							
							
							Before we did this in complex_pow() and behavior of the public C API
function _Py_c_pow() was different from the pure-python pow(). 
							
						 
						
							2024-09-18 10:39:11 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									neonene 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								646f16bdee 
								
							 
						 
						
							
							
								
								gh-124153: Implement PyType_GetBaseByToken() and Py_tp_token slot (GH-124163)  
							
							
							
						 
						
							2024-09-18 09:18:19 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Rafael Fontenelle 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								33eeccf6d4 
								
							 
						 
						
							
							
								
								Use pep role instead of url ( #121611 )  
							
							
							
						 
						
							2024-09-17 16:02:14 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Oleg Iarygin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4f25e282ad 
								
							 
						 
						
							
							
								
								gh-100554: Fix formatting of type.rst modifications ( #124066 )  
							
							
							
						 
						
							2024-09-13 18:35:08 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Wenzel Jakob 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								74330d992b 
								
							 
						 
						
							
							
								
								gh-100554: Add `Py_tp_vectorcall slot to set PyTypeObject.tp_vectorcall using the PyType_FromSpec` function family. ( #123332 )  
							
							
							
						 
						
							2024-09-13 17:40:25 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Donghee Na 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e6bb1a2b28 
								
							 
						 
						
							
							
								
								gh-119802: Update memory management docs for free-threaded build (gh-124006)  
							
							... 
							
							
							
							* gh-119802: Update memory management docs for free-threaded build
* nit
* nit
* Address code review
* nit
* Update Doc/c-api/memory.rst
Co-authored-by: Sam Gross <colesbury@gmail.com>
---------
Co-authored-by: Sam Gross <colesbury@gmail.com> 
							
						 
						
							2024-09-13 15:15:44 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Viktorin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								432bf31327 
								
							 
						 
						
							
							
								
								gh-123909: PyType_From*: Disallow metaclasses with custom tp_new (GH-123947)  
							
							
							
						 
						
							2024-09-13 13:18:49 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Peter Bierma 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								962304a54c 
								
							 
						 
						
							
							
								
								gh-123609: Clarify usage of standalone PyBUF_FORMAT (GH-123778)  
							
							
							
						 
						
							2024-09-10 15:05:28 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								d343f977ba 
								
							 
						 
						
							
							
								
								gh-121645: Fix typo in PyBytes_Join() doc ( #123783 )  
							
							
							
						 
						
							2024-09-06 16:08:17 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Rafael Fontenelle 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6e43928831 
								
							 
						 
						
							
							
								
								Swap the and from in sentence in init_config.rst ( #120086 )  
							
							
							
						 
						
							2024-09-05 23:04:15 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Viktorin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								16be8db6be 
								
							 
						 
						
							
							
								
								gh-123465: Allow Py_RELATIVE_OFFSET for __*offset__ members (GH-123474)  
							
							
							
						 
						
							2024-09-05 14:14:05 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								0d6b6e34a2 
								
							 
						 
						
							
							
								
								gh-107954, PEP 741: Add PyInitConfig_AddModule() function ( #123668 )  
							
							
							
						 
						
							2024-09-04 11:41:57 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ef9d54703f 
								
							 
						 
						
							
							
								
								gh-107954, PEP 741: Add PyInitConfig C API ( #123502 )  
							
							... 
							
							
							
							Add Doc/c-api/config.rst documentation. 
							
						 
						
							2024-09-03 12:33:49 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								33b790978d 
								
							 
						 
						
							
							
								
								gh-107954, PEP 741: Add PyConfig_Get()/Set() functions ( #123472 )  
							
							... 
							
							
							
							Add PyConfig_Get(), PyConfig_GetInt(), PyConfig_Set() and
PyConfig_Names() functions to get and set the current runtime Python
configuration.
Add visibility and "sys spec" to config and preconfig specifications.
_PyConfig_AsDict() now converts PyConfig.xoptions as a dictionary.
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> 
							
						 
						
							2024-09-02 23:25:08 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Wei-Hsiang (Matt) Wang 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								cf472577e2 
								
							 
						 
						
							
							
								
								gh-123517: Remove unnecessary `:meth:` parentheses ( #123518 )  
							
							
							
						 
						
							2024-09-01 05:59:42 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								d8e69b2c1b 
								
							 
						 
						
							
							
								
								gh-122854: Add Py_HashBuffer() function ( #122855 )  
							
							
							
						 
						
							2024-08-30 15:42:27 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3d60dfbe17 
								
							 
						 
						
							
							
								
								gh-121645: Add PyBytes_Join() function ( #121646 )  
							
							... 
							
							
							
							* Replace _PyBytes_Join() with PyBytes_Join().
* Keep _PyBytes_Join() as an alias to PyBytes_Join(). 
							
						 
						
							2024-08-30 12:57:33 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Wei-Hsiang (Matt) Wang 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								103a0470e3 
								
							 
						 
						
							
							
								
								gh-123492: Remove unnecessary :func: parentheses ( #123493 )  
							
							
							
						 
						
							2024-08-30 14:34:09 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Wulian 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								9e108b8719 
								
							 
						 
						
							
							
								
								Fix typos in docs, error messages and comments ( #123336 )  
							
							... 
							
							
							
							Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> 
							
						 
						
							2024-08-28 14:41:04 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4c6dca8292 
								
							 
						 
						
							
							
								
								gh-120389: Add PyLong_FromInt64() and PyLong_AsInt64() ( #120390 )  
							
							... 
							
							
							
							Add new functions to convert C <stdint.h> numbers from/to Python int:
* PyLong_FromInt32()
* PyLong_FromUInt32()
* PyLong_FromInt64()
* PyLong_FromUInt64()
* PyLong_AsInt32()
* PyLong_AsUInt32()
* PyLong_AsInt64()
* PyLong_AsUInt64() 
							
						 
						
							2024-08-28 10:16:13 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									sobolevn 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								6f563e364d 
								
							 
						 
						
							
							
								
								gh-123254: Improve tuple C API docs with more info about errors ( #123255 )  
							
							... 
							
							
							
							Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 
							
						 
						
							2024-08-28 10:30:21 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sergey B Kirpichev 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ce4b9c8464 
								
							 
						 
						
							
							
								
								gh-121477: mention new PyLong_*Bytes() functions in PyLong_FromString() ( #121478 )  
							
							... 
							
							
							
							* gh-121477: mention new PyLong_*Bytes() functions in PyLong_FromString()
* Update Doc/c-api/long.rst
---------
Co-authored-by: Kumar Aditya <kumaraditya@python.org> 
							
						 
						
							2024-08-17 09:13:31 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Eddie Elizondo 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								3203a74129 
								
							 
						 
						
							
							
								
								gh-113190: Reenable non-debug interned string cleanup (GH-113601)  
							
							
							
						 
						
							2024-08-15 11:55:09 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Adam Turner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								db6f5e1933 
								
							 
						 
						
							
							
								
								GH-109975: Copyedit 3.13 What's New: Release Highlights ( #122958 )  
							
							... 
							
							
							
							Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> 
							
						 
						
							2024-08-13 15:30:59 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Erlend E. Aasland 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e006c7371d 
								
							 
						 
						
							
							
								
								gh-105201: Add PyIter_NextItem() ( #122331 )  
							
							... 
							
							
							
							Return -1 and set an exception on error; return 0 if the iterator is
exhausted, and return 1 if the next item was fetched successfully.
Prefer this API to PyIter_Next(), which requires the caller to use
PyErr_Occurred() to differentiate between iterator exhaustion and errors.
Co-authered-by: Irit Katriel <iritkatriel@yahoo.com> 
							
						 
						
							2024-08-08 00:47:15 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									sobolevn 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								151934a324 
								
							 
						 
						
							
							
								
								gh-122623: Improve c-api/bytearray.rst with error handling info ( #122624 )  
							
							
							
						 
						
							2024-08-04 00:55:47 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sergey B Kirpichev 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								d91ac525ef 
								
							 
						 
						
							
							
								
								gh-122613: Document PyLong_GetInfo() (part of Limited API) (GH-#122280)  
							
							
							
						 
						
							2024-08-03 13:20:10 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								addbb73927 
								
							 
						 
						
							
							
								
								Update PyObject_Del() documentation ( #122597 )  
							
							... 
							
							
							
							Replace PyMem_Del() with PyMem_Free(). 
							
						 
						
							2024-08-02 12:13:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								fda6bd842a 
								
							 
						 
						
							
							
								
								Replace PyObject_Del with PyObject_Free ( #122453 )  
							
							... 
							
							
							
							PyObject_Del() is just a alias to PyObject_Free() kept for backward
compatibility. Use directly PyObject_Free() instead. 
							
						 
						
							2024-08-01 14:12:33 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Ville Skyttä 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								bc264eac3a 
								
							 
						 
						
							
							
								
								Docs: spelling and grammar fixes ( #122084 )  
							
							... 
							
							
							
							Corrected some grammar and spelling issues in documentation.
Co-authored-by: Russell Keith-Magee <russell@keith-magee.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> 
							
						 
						
							2024-07-22 09:14:25 +08:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Adam Turner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								22c9d9c1fc 
								
							 
						 
						
							
							
								
								GH-121970: Rewrite the C-API annotations extension ( #121985 )  
							
							... 
							
							
							
							Co-authored-by: Petr Viktorin <encukou@gmail.com> 
							
						 
						
							2024-07-19 12:21:56 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Serhiy Storchaka 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								1a0c7b9ba4 
								
							 
						 
						
							
							
								
								gh-121905: Consistently use "floating-point" instead of "floating point" (GH-121907)  
							
							
							
						 
						
							2024-07-19 08:06:02 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									sobolevn 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								72dccd6073 
								
							 
						 
						
							
							
								
								gh-121834: Improve complex C-API docs ( #121835 )  
							
							... 
							
							
							
							Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com>
Co-authored-by: Petr Viktorin <encukou@gmail.com> 
							
						 
						
							2024-07-17 10:01:28 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Petr Viktorin 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								b4aedb23ae 
								
							 
						 
						
							
							
								
								gh-113993: Don't immortalize in PyUnicode_InternInPlace; keep immortalizing in other API ( #121364 )  
							
							... 
							
							
							
							* Switch PyUnicode_InternInPlace to _PyUnicode_InternMortal, clarify docs
* Document immortality in some functions that take `const char *`
This is PyUnicode_InternFromString;
PyDict_SetItemString, PyObject_SetAttrString;
PyObject_DelAttrString; PyUnicode_InternFromString;
and the PyModule_Add convenience functions.
Always point out a non-immortalizing alternative.
* Don't immortalize user-provided attr names in _ctypes 
							
						 
						
							2024-07-16 15:36:21 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Donghee Na 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2bac2b86b1 
								
							 
						 
						
							
							
								
								gh-121403: Add notes for PyList_GetXXX APIs about the need for init (gh-121626)  
							
							
							
						 
						
							2024-07-16 10:16:41 +09:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Dominic H 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								26dfb27712 
								
							 
						 
						
							
							
								
								gh-121749: Fix discrepancy in docs for PyModule_AddObjectRef (GH-121750)  
							
							
							
						 
						
							2024-07-14 10:11:10 +00:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									sobolevn 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								e6264b44dc 
								
							 
						 
						
							
							
								
								gh-121615: Improve module.rst C-API docs with better error descriptions ( #121616 )  
							
							
							
						 
						
							2024-07-11 11:57:22 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									sobolevn 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								84a5597b08 
								
							 
						 
						
							
							
								
								gh-121567: Improve slice C-API docs by mentioning exceptions ( #121568 )  
							
							... 
							
							
							
							Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 
							
						 
						
							2024-07-10 13:56:44 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									sobolevn 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								649d5b6d7b 
								
							 
						 
						
							
							
								
								gh-121533: Improve PyCell_[Get,Set] docs: mention the exceptions ( #121534 )  
							
							... 
							
							
							
							Co-authored-by: Victor Stinner <vstinner@python.org> 
							
						 
						
							2024-07-09 18:47:35 +03:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Bénédikt Tran 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								ada964fba0 
								
							 
						 
						
							
							
								
								[docs] fix a Sphinx directive in c-api/object.rst ( #121430 )  
							
							
							
						 
						
							2024-07-06 19:57:26 +02:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									da-woods 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4232976b02 
								
							 
						 
						
							
							
								
								docs: Fix "Py_TPFLAGS_MANAGED_WEAKREF is set in tp_flags" ( #112237 )  
							
							
							
						 
						
							2024-07-03 13:35:02 +05:30 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Rafael Fontenelle 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								4f1e1dff89 
								
							 
						 
						
							
							
								
								Fix phrasing in paragraphs with leading "similar" ( #121135 )  
							
							
							
						 
						
							2024-07-01 17:36:27 -07:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Steve Dower 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2894aa14f2 
								
							 
						 
						
							
							
								
								gh-121115: Skip __index__ in PyLong_AsNativeBytes by default (GH-121118)  
							
							
							
						 
						
							2024-06-28 16:26:21 +01:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Sam Gross 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								375b723d58 
								
							 
						 
						
							
							
								
								gh-120858: PyDict_Next should not lock the dict ( #120859 )  
							
							... 
							
							
							
							PyDict_Next no longer locks the dictionary in the free-threaded build. Locking
around individual PyDict_Next calls is not sufficient because the function
returns borrowed references and because it allows concurrent modifications
during the iteraiton loop.
The internal locking also interferes with correct external synchronization
because it may suspend outer critical sections created by the caller. 
							
						 
						
							2024-06-24 14:15:15 -04:00 
							
								 
							
							
								 
							
						 
					 
				
					
						
							
								
								
									Victor Stinner 
								
							 
						 
						
							
							
								
								
							
							
							
								
							
							
								2e157851e3 
								
							 
						 
						
							
							
								
								gh-119182: Add PyUnicodeWriter_WriteUCS4() function ( #120849 )  
							
							
							
						 
						
							2024-06-24 17:40:39 +02:00