[issue44914] tp_version_tag is not unique when test runs with -R :
Mark Shannon
report at bugs.python.org
Sun Aug 15 08:30:05 EDT 2021
Mark Shannon <mark at hotpy.org> added the comment:
Thanks for putting in the effort to find this.
I think the first step to fixing this is to formalize the semantics of `tp_version_tag`. Initially it was designed just for the method cache, but we have started using it as a unique identifier for the state of a class.
The two different uses have different requirements when the global version counter overflows. Possibly in other scenarios as well.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue44914>
_______________________________________
More information about the Python-bugs-list
mailing list