]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-117398: Add datetime C-API type check test for subinterpreters (gh-120463)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 13 Jun 2024 18:30:42 +0000 (20:30 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Jun 2024 18:30:42 +0000 (18:30 +0000)
commit15c3d0013d5e653c63171dc5daa533ed45ba811f
tree47bb90dbedd928d818d771f4890c5144db9f5bcb
parente0f4dd8ec5d26c2c59893ebe476090892cbfe233
[3.13] gh-117398: Add datetime C-API type check test for subinterpreters (gh-120463)

Check if the DateTime C-API type matches the datetime.date type on main and shared/isolated subinterpreters.

(cherry picked from commit 50a389565aa0b480792ed06a2ab56fb5a72fc2d8, AKA gh-119604)

Co-authored-by: neonene <53406459+neonene@users.noreply.github.com>
Lib/test/datetimetester.py
Lib/test/support/__init__.py
Modules/_testcapi/datetime.c