[issue40549] Convert posixmodule.c to multiphase initialization (PEP 489)

2020-05-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset 97f33c35445e6d67df24dcbafef7b78333feb778 by Victor Stinner in branch 'master': bpo-40549: posixmodule.c uses defining_class (GH-20075) https://github.com/python/cpython/commit/97f33c35445e6d67df24dcbafef7b78333feb778 -- __

[issue40549] Convert posixmodule.c to multiphase initialization (PEP 489)

2020-05-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +19381 pull_request: https://github.com/python/cpython/pull/20075 ___ Python tracker ___ __

[issue40549] Convert posixmodule.c to multiphase initialization (PEP 489)

2020-05-10 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue40549] Convert posixmodule.c to multiphase initialization (PEP 489)

2020-05-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1c2fa781560608aa4be50c748d4b3f403cfa5035 by Victor Stinner in branch 'master': bpo-40549: Convert posixmodule.c to multiphase init (GH-19982) https://github.com/python/cpython/commit/1c2fa781560608aa4be50c748d4b3f403cfa5035 -- ___

[issue40549] Convert posixmodule.c to multiphase initialization (PEP 489)

2020-05-07 Thread hai shi
Change by hai shi : -- nosy: +shihai1991 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

[issue40549] Convert posixmodule.c to multiphase initialization (PEP 489)

2020-05-07 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +19298 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19982 ___ Python tracker ___ _

[issue40549] Convert posixmodule.c to multiphase initialization (PEP 489)

2020-05-07 Thread STINNER Victor
New submission from STINNER Victor : 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 ((_posi