commit | eceee544de4b0f885729022c135c53291b6bbb23 | [log] [tgz] |
---|---|---|
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | Thu May 28 09:41:41 2020 -0700 |
committer | GitHub <noreply@github.com> | Thu May 28 09:41:41 2020 -0700 |
tree | ad8ba3b254b0d92eaac5f21b07c3843e90669c49 | |
parent | a5936ad6323b2cda712726a25d9301f766146cff [diff] |
[3.9] bpo-40777: Initialize PyDateTime_IsoCalendarDateType.tp_base at run-time (GH-20493) (GH-20495) 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. (cherry picked from commit 459acc551656785bc4a3363d65c7a60f822da8e3) Co-authored-by: Petr Viktorin <encukou@gmail.com>