New submission from hai shi <shihai1...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue39968>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to