This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pablogsal
Recipients christian.heimes, erlendaasland, pablogsal, serhiy.storchaka, shreyanavigyan, vstinner
Date 2021-04-30.23:43:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1619826222.08.0.483485574513.issue43916@roundup.psfhosted.org>
In-reply-to
Content
> * _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
History
Date User Action Args
2021-04-30 23:43:42pablogsalsetrecipients: + pablogsal, vstinner, christian.heimes, serhiy.storchaka, erlendaasland, shreyanavigyan
2021-04-30 23:43:42pablogsalsetmessageid: <1619826222.08.0.483485574513.issue43916@roundup.psfhosted.org>
2021-04-30 23:43:42pablogsallinkissue43916 messages
2021-04-30 23:43:42pablogsalcreate