bpo-40777: Initialize PyDateTime_IsoCalendarDateType.tp_base at run-time by encukou · Pull Request #20493 · python/cpython (original) (raw)
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.
https://bugs.python.org/issue40777
Automerge-Triggered-By: @encukou