You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PEP 3121, 384 Refactoring applied to posix module #59896
bpo-40549: Convert posixmodule.c to multiphase init (GH-19982)
Convert posixmodule.c ("posix" or "nt" module) to the multiphase
initialization (PEP-489).
* Create the module using PyModuleDef_Init().
* Create ScandirIteratorType and DirEntryType with the new
PyType_FromModuleAndSpec() (PEP-573)
* Get the module state from ScandirIteratorType and DirEntryType with
the new PyType_GetModule() (PEP-573)
* Pass module to functions which access the module state.
* convert_sched_param() gets a new module parameter. It is now called
directly since Argument Clinic doesn't support passing the module
to an argument converter callback.
* Remove _posixstate_global macro.
Activity
RobinSchreiber commentedon Aug 16, 2012
Changes proposed in PEP-3121 and PEP-384 have now been applied to the posix module!
RobinSchreiber commentedon Dec 14, 2012
Updated posixmodule to work with the 3.4 Branch version.
vstinner commentedon Jun 22, 2020
Fixed by:
commit 1c2fa78
Author: Victor Stinner <vstinner@python.org>
Date: Sun May 10 11:05:29 2020 +0200