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 dino.viehland
Recipients dino.viehland, methane, pablogsal, vstinner
Date 2021-03-27.01:38:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1616809092.04.0.856650702488.issue43636@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2021-03-27 01:38:12dino.viehlandsetrecipients: + dino.viehland, vstinner, methane, pablogsal
2021-03-27 01:38:12dino.viehlandsetmessageid: <1616809092.04.0.856650702488.issue43636@roundup.psfhosted.org>
2021-03-27 01:38:12dino.viehlandlinkissue43636 messages
2021-03-27 01:38:12dino.viehlandcreate