This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2020-05-07.18:05:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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)))
Date User Action Args
2020-05-07 18:05:48vstinnersetrecipients: + vstinner
2020-05-07 18:05:48vstinnersetmessageid: <>
2020-05-07 18:05:48vstinnerlinkissue40549 messages
2020-05-07 18:05:48vstinnercreate