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 shihai1991
Recipients erlendaasland, petr.viktorin, rhettinger, shihai1991
Date 2021-10-14.05:24:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1634189047.3.0.361662300666.issue45113@roundup.psfhosted.org>
In-reply-to
Content
> The only thing the proposed PR adds is a way to set ht_module, which actually isn't very useful (it's used for module state access.

Hm, there have some static types. so I create the PyStructSequence_FromModuleAndDes() could receive tp_flags and try convert those static types to the heap type. eg: https://github.com/python/cpython/blob/main/Python/sysmodule.c#L2837-L2839
We can not do this converting operation by calling PyStructSequence_NewType(), no?

This is my *reason* to create PR-28573 :)
History
Date User Action Args
2021-10-14 05:24:07shihai1991setrecipients: + shihai1991, rhettinger, petr.viktorin, erlendaasland
2021-10-14 05:24:07shihai1991setmessageid: <1634189047.3.0.361662300666.issue45113@roundup.psfhosted.org>
2021-10-14 05:24:07shihai1991linkissue45113 messages
2021-10-14 05:24:07shihai1991create