Message392046
> Alternatively we can make PyType_FromSpec() setting tp_new to NULL if there is explicit {Py_tp_new, NULL} in slots.
Yes. It's not as explicit (and self-documenting) as _PyType_DisabledNew, though. But it avoids expanding the C API. |
|
Date |
User |
Action |
Args |
2021-04-27 08:41:25 | erlendaasland | set | recipients:
+ erlendaasland, vstinner, christian.heimes, serhiy.storchaka, pablogsal, shreyanavigyan |
2021-04-27 08:41:25 | erlendaasland | set | messageid: <1619512885.3.0.797145506387.issue43916@roundup.psfhosted.org> |
2021-04-27 08:41:25 | erlendaasland | link | issue43916 messages |
2021-04-27 08:41:25 | erlendaasland | create | |
|