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