Message403887
> 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 :) |
|
Date |
User |
Action |
Args |
2021-10-14 05:24:07 | shihai1991 | set | recipients:
+ shihai1991, rhettinger, petr.viktorin, erlendaasland |
2021-10-14 05:24:07 | shihai1991 | set | messageid: <1634189047.3.0.361662300666.issue45113@roundup.psfhosted.org> |
2021-10-14 05:24:07 | shihai1991 | link | issue45113 messages |
2021-10-14 05:24:07 | shihai1991 | create | |
|