]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42327: C API: Add PyModule_Add() function (GH-23443)
authorSerhiy Storchaka <storchaka@gmail.com>
Tue, 18 Jul 2023 06:42:05 +0000 (09:42 +0300)
committerGitHub <noreply@github.com>
Tue, 18 Jul 2023 06:42:05 +0000 (09:42 +0300)
commit83ac1284909433f3f77c0a4f459996b1ba3f1a4d
tree82d86e1e07ab40873f6487625e10077baba76a15
parent745492355b94d109e47827e5865846f25ae42d26
bpo-42327: C API: Add PyModule_Add() function (GH-23443)

It is a fixed implementation of PyModule_AddObject() which consistently
steals reference both on success and on failure.
Doc/c-api/module.rst
Doc/data/stable_abi.dat
Doc/whatsnew/3.13.rst
Include/modsupport.h
Lib/test/test_stable_abi_ctypes.py
Misc/NEWS.d/next/C API/2020-11-11-22-36-29.bpo-42327.ODSZBM.rst [new file with mode: 0644]
Misc/stable_abi.toml
PC/python3dll.c
Python/modsupport.c