[New-bugs-announce] [issue39968] move extension modules' macros of `get_xx_state()` to inline function.

hai shi report at bugs.python.org
Sun Mar 15 09:42:06 EDT 2020


New submission from hai shi <shihai1991 at 126.com>:

as victor and petr said in PR18613:inline function is more better than macros, so I plan move all extension modules' macros of `get_xx_state()` to inline function.

Note: some inline get_xx_state() can not be used directly in `tp_traverse`、`tp_free` and `tp_clear`(issue39824).

----------
components: Extension Modules
messages: 364231
nosy: petr.viktorin, shihai1991, vstinner
priority: normal
severity: normal
status: open
title: move extension modules' macros of `get_xx_state()` to inline function.
type: enhancement
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39968>
_______________________________________


More information about the New-bugs-announce mailing list