]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-141563: Add missing cast to _PyDateTime_IMPORT() (#144667)
authorVictor Stinner <vstinner@python.org>
Tue, 10 Feb 2026 14:47:12 +0000 (15:47 +0100)
committerGitHub <noreply@github.com>
Tue, 10 Feb 2026 14:47:12 +0000 (14:47 +0000)
commit3dadc22a2796af7718f1aec02e30f100ac6553bd
tree4ff5a993c51964a832f36ab86ddbba004eb29c48
parentcc81707e406c49c63afc18048e1a221d796ce638
gh-141563: Add missing cast to _PyDateTime_IMPORT() (#144667)

Fix compilation on C++.

Add test on PyDateTime_IMPORT in test_cext and test_cppext.
Include/datetime.h
Lib/test/test_cext/extension.c
Lib/test/test_cppext/extension.cpp