Tatyana <[email protected]> added the comment:
So, user has to do
PyObject *empty_args = PyTuple_New(0);
inst = PyBaseObject_Type.tp_new(type_obj, empty_args, Py_None);
Py_DECREF(empty_args);
when type_obj doesn't require arguments for constructing?
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue34495>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com