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 erlendaasland, pablogsal
Date 2021-04-08.22:33:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617921238.04.0.508254411777.issue43779@roundup.psfhosted.org>
In-reply-to
Content
> We could also adjust Parser/asdl_c.py to decref right after a failed _PyArena_AddPyObject() call, instead of goto failure and Py_XDECREF. I'm not sure it's worth it though.

I normally recommend having the least amount of exist paths possible, makes reasoning easily normally at the cost of some extra NULL checks for the XDECREF in failure scenarios
History
Date User Action Args
2021-04-08 22:33:58pablogsalsetrecipients: + pablogsal, erlendaasland
2021-04-08 22:33:58pablogsalsetmessageid: <1617921238.04.0.508254411777.issue43779@roundup.psfhosted.org>
2021-04-08 22:33:58pablogsallinkissue43779 messages
2021-04-08 22:33:58pablogsalcreate