]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-111295: Fix error checking in time extension module init (GH-111296) (...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 1 Nov 2023 19:58:02 +0000 (20:58 +0100)
committerGitHub <noreply@github.com>
Wed, 1 Nov 2023 19:58:02 +0000 (20:58 +0100)
commita94bdc245963a0c0a41f201a6a1311549d964945
tree2e4c6d9a7f38c247a3f4b1d5cd04d815525f06a9
parentf1087855e24a01a3c358c520fd3f2fcbc04d1786
[3.12] gh-111295: Fix error checking in time extension module init (GH-111296) (#111300)

gh-111295: Fix error checking in time extension module init (GH-111296)

Introduce ADD_INT macro wrapper for PyModule_AddIntConstant()
(cherry picked from commit 81b03e78101c97c1d3fe5f90908bbf94e83d7df1)

Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
Misc/NEWS.d/next/Library/2023-10-25-08-42-05.gh-issue-111295.H2K4lf.rst [new file with mode: 0644]
Modules/timemodule.c