]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43441: Fix _PyType_ClearCache() for subinterpreters (GH-24822)
authorjunyixie <xie.junyi@outlook.com>
Sat, 13 Mar 2021 13:38:36 +0000 (21:38 +0800)
committerGitHub <noreply@github.com>
Sat, 13 Mar 2021 13:38:36 +0000 (14:38 +0100)
commit75048c8a38005845f10f8cb1dd33a31e0052cae0
treedaffa671aa912512a376ffcfbbcbb8a4489d32ec
parent5bd1059184b154d339f1bd53d23c98b5bcf14c8c
bpo-43441: Fix _PyType_ClearCache() for subinterpreters (GH-24822)

_PyType_ClearCache() now only resets next_version_tag in the main interpreter.

Co-authored-by: Victor Stinner <vstinner@python.org>
Objects/typeobject.c