[issue43636] test_descr fails randomly when executed with -R :
Dino Viehland
report at bugs.python.org
Fri Mar 26 21:38:12 EDT 2021
Dino Viehland <dinoviehland at gmail.com> 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 <report at bugs.python.org>
<https://bugs.python.org/issue43636>
_______________________________________
More information about the Python-bugs-list
mailing list