]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-40777: Initialize PyDateTime_IsoCalendarDateType.tp_base at run-time (GH-20493)
authorPetr Viktorin <encukou@gmail.com>
Thu, 28 May 2020 16:14:46 +0000 (18:14 +0200)
committerGitHub <noreply@github.com>
Thu, 28 May 2020 16:14:46 +0000 (09:14 -0700)
commit459acc551656785bc4a3363d65c7a60f822da8e3
treed521a0e2a2de518d2d93f1040eb4def13b4094cb
parent60398512c86c5535edd817c99ccb50453b3b0471
bpo-40777: Initialize PyDateTime_IsoCalendarDateType.tp_base at run-time (GH-20493)

Recent changes to _datetimemodule broke compilation on mingw; see the comments in this change for details.

FWIW, @corona10: this issue is why `PyType_FromModuleAndSpec` & friends take the `bases` argument at run time.
Misc/NEWS.d/next/Library/2020-05-28-17-32-29.bpo-40777.1kJU6N.rst [new file with mode: 0644]
Modules/_datetimemodule.c