[New-bugs-announce] [issue42287] Use Py_NewRef & Py_XNewRef where applicable

Yonatan Goldschmidt report at bugs.python.org
Sat Nov 7 19:31:36 EST 2020


New submission from Yonatan Goldschmidt <yon.goldschmidt at 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 <report at bugs.python.org>
<https://bugs.python.org/issue42287>
_______________________________________


More information about the New-bugs-announce mailing list