[New-bugs-announce] [issue40549] Convert posixmodule.c to multiphase initialization (PEP 489)
STINNER Victor
report at bugs.python.org
Thu May 7 14:05:48 EDT 2020
New submission from STINNER Victor <vstinner at python.org>:
Attached PR converts posixmodule.c to multiphase initialization (PEP 489).
It uses the new shiny PyType_FromModuleAndSpec() and PyType_GetModule() of the PEP 573 added by bpo-38787.
The PR removes the following macro :-)
#define _posixstate_global ((_posixstate *)PyModule_GetState(PyState_FindModule(&posixmodule)))
----------
components: Interpreter Core
messages: 368362
nosy: vstinner
priority: normal
severity: normal
status: open
title: Convert posixmodule.c to multiphase initialization (PEP 489)
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40549>
_______________________________________
More information about the New-bugs-announce
mailing list