Dino Viehland <[email protected]> added the comment:
I think the issue here is that in assign_version_tag there's this code:
if (type->tp_version_tag == 0) {
// Wrap-around or just starting Python - clear the whole cache
type_cache_clear(cache, 1);
return 1;
}
the return 1 is incorrect, it should be return 0 as a valid version tag hasn't
been assigned.
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43636>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com