Message392408
| 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:53 | vstinner | set | recipients:
+ vstinner, gvanrossum, christian.heimes, Mark.Shannon, serhiy.storchaka, Guido.van.Rossum, corona10, pablogsal, shihai1991, erlendaasland, shreyanavigyan |
| 2021年04月30日 10:34:53 | vstinner | set | messageid: <1619778893.39.0.535438869318.issue43908@roundup.psfhosted.org> |
| 2021年04月30日 10:34:53 | vstinner | link | issue43908 messages |
| 2021年04月30日 10:34:53 | vstinner | create |
|