]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-148450: `abc.register` needs to update `type_version` when `tp_flags` is...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 23 May 2026 08:53:12 +0000 (10:53 +0200)
committerGitHub <noreply@github.com>
Sat, 23 May 2026 08:53:12 +0000 (08:53 +0000)
commit8a162b2e270bc371f0c229e8511e7c19b3742f52
treedf293cf4fef5110571174fb03da873e9d04e68e2
parentd9d8ee503a729f34d7ffc4585ecb4fc0a3445825
[3.15] gh-148450: `abc.register` needs to update `type_version` when `tp_flags` is changed (GH-148623) (#150300)

gh-148450: `abc.register` needs to update `type_version` when `tp_flags` is changed (GH-148623)
(cherry picked from commit e7eaed56149aa08f7fd5012784cc1deef8e483de)

Co-authored-by: Hai Zhu <haiizhu@outlook.com>
Lib/test/test_type_cache.py
Misc/NEWS.d/next/Core_and_Builtins/2026-04-15-15-48-04.gh-issue-148450.2MEVqH.rst [new file with mode: 0644]
Objects/typeobject.c