]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-44263: Fix _decimal and _testcapi GC protocol (GH-26464)
authorVictor Stinner <vstinner@python.org>
Mon, 31 May 2021 11:10:31 +0000 (13:10 +0200)
committerGitHub <noreply@github.com>
Mon, 31 May 2021 11:10:31 +0000 (13:10 +0200)
commit142e5c5445c019542246d93fe2f9e195d3131686
tree39b4016b956f8f9d7c4b9cb088676b6c92109aa7
parentd1124b09e8251061dc040cbd396f35ae57783f4a
bpo-44263: Fix _decimal and _testcapi GC protocol (GH-26464)

* _testcapi.heapgctype: implement a traverse function since the type
  is defined with Py_TPFLAGS_HAVE_GC.
* _decimal: PyDecSignalDictMixin_Type is no longer defined with
  Py_TPFLAGS_HAVE_GC since it has no traverse function.
Modules/_decimal/_decimal.c
Modules/_testcapimodule.c