Author vstinner
Recipients Guido.van.Rossum, Mark.Shannon, christian.heimes, corona10, erlendaasland, gvanrossum, pablogsal, serhiy.storchaka, shihai1991, shreyanavigyan, vstinner
Date 2021-04-30.10:34:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619778893.39.0.535438869318.issue43908@roundup.psfhosted.org>
In-reply-to
Content
Hum, another function should be updated. Do you want to propose a fix Erlend?

static int
type_set_annotations(PyTypeObject *type, PyObject *value, void *context)
{
    if (!(type->tp_flags & Py_TPFLAGS_HEAPTYPE)) {
        PyErr_Format(PyExc_TypeError, "can't set attributes of built-in/extension type '%s'", type->tp_name);
        return -1;
    }
History
Date User Action Args
2021-04-30 10:34:53vstinnersetrecipients: + vstinner, gvanrossum, christian.heimes, Mark.Shannon, serhiy.storchaka, Guido.van.Rossum, corona10, pablogsal, shihai1991, erlendaasland, shreyanavigyan
2021-04-30 10:34:53vstinnersetmessageid: <1619778893.39.0.535438869318.issue43908@roundup.psfhosted.org>
2021-04-30 10:34:53vstinnerlinkissue43908 messages
2021-04-30 10:34:53vstinnercreate