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 <1588874748.21.0.997527577662.issue40549@roundup.psfhosted.org>
In-reply-to
Content
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)))
History
Date User Action Args
2020-05-07 18:05:48vstinnersetrecipients: + vstinner
2020-05-07 18:05:48vstinnersetmessageid: <1588874748.21.0.997527577662.issue40549@roundup.psfhosted.org>
2020-05-07 18:05:48vstinnerlinkissue40549 messages
2020-05-07 18:05:48vstinnercreate