消息 [392408]
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;
} |
|
| 日期 |
用户 |
动作 |
参数 |
| 2021-04-30 10:34:53 | vstinner | 修改 | recipients:
+ vstinner, gvanrossum, christian.heimes, Mark.Shannon, serhiy.storchaka, Guido.van.Rossum, corona10, pablogsal, shihai1991, erlendaasland, shreyanavigyan |
| 2021-04-30 10:34:53 | vstinner | 修改 | messageid: <1619778893.39.0.535438869318.issue43908@roundup.psfhosted.org> |
| 2021-04-30 10:34:53 | vstinner | 链接 | issue43908 messages |
| 2021-04-30 10:34:53 | vstinner | 创建 | |
|