New submission from Yonatan Goldschmidt <yon.goldschm...@gmail.com>:
Following https://bugs.python.org/issue42262, I think it'd be nice to convert existing C code to use the more concise Py_NewRef() and Py_XNewRef() where possible. Increases readability and less bug prone. Opening this new issue to track the conversion. ---------- components: Interpreter Core messages: 380531 nosy: Yonatan Goldschmidt, vstinner priority: normal severity: normal status: open title: Use Py_NewRef & Py_XNewRef where applicable type: enhancement versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue42287> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com