bpo-40777: Initialize PyDateTime_IsoCalendarDateType.tp_base at run-t… · python/cpython@459acc5 · GitHub
Skip to content

Commit 459acc5

Browse files
authored
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.
1 parent 6039851 commit 459acc5

2 files changed

Lines changed: 12 additions & 3 deletions

File tree

Lines changed: 2 additions & 0 deletions

Modules/_datetimemodule.c

Lines changed: 10 additions & 3 deletions

0 commit comments

Comments
 (0)