This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author kj
Recipients Mark.Shannon, kj, pablogsal, vstinner
Date 2021-08-17.09:48:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629193737.88.0.513288678085.issue44914@roundup.psfhosted.org>
In-reply-to
Content
@Pablo yup the 3.10 opcache used tp_version_tag. But it also does identity (pointer) comparison of type/class object https://github.com/python/cpython/blob/3.10/Python/ceval.c#L3432. Which is why it doesn't fail.

I created this issue because we don't do type pointer comparisons anymore in 3.11's new specialization infrastructure, and rely only on tp_version_tag and dict keys version.
History
Date User Action Args
2021-08-17 09:48:57kjsetrecipients: + kj, vstinner, Mark.Shannon, pablogsal
2021-08-17 09:48:57kjsetmessageid: <1629193737.88.0.513288678085.issue44914@roundup.psfhosted.org>
2021-08-17 09:48:57kjlinkissue44914 messages
2021-08-17 09:48:57kjcreate