Pablo Galindo Salgado <[email protected]> added the comment:
> * _ast.AST: use {Py_tp_new, PyType_GenericNew} and {Py_tp_init,
> ast_type_init} slots. What happens if tp_new is called without calling
> tp_init?
I think this is fine since ast_type_init doesn't initialize any C fields and
only mutates the object by using PyObject_SetAttr
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue43916>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com