Erlend Egeberg Aasland <erlend.aasl...@innova.no> added the comment:
> 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43916> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com