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 JunyiXie
Recipients JunyiXie
Date 2021-03-09.06:31:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1615271480.25.0.157485775061.issue43441@roundup.psfhosted.org>
In-reply-to
Content
fix:
only main interpreter fini, clear method cache. 

void
_PyType_Fini(PyInterpreterState *interp)
{
    if (_Py_IsMainInterpreter(interp)) {
        clear_slotdefs();
        _PyType_ClearCache(&interp->type_cache);
    }
}

when python4.0? type isolate, each interpreter dealloc should clear method cache.
History
Date User Action Args
2021-03-09 06:31:20JunyiXiesetrecipients: + JunyiXie
2021-03-09 06:31:20JunyiXiesetmessageid: <1615271480.25.0.157485775061.issue43441@roundup.psfhosted.org>
2021-03-09 06:31:20JunyiXielinkissue43441 messages
2021-03-09 06:31:20JunyiXiecreate