Message404493
> the simplest solution is calling `type_set_name`, even if that runs some unnecessary checks.
Unfortunately this won't work, because it sets ht_name to the same value as tp_name. For historical reasons, the two can be different (and often are) for types created with PyType_From*Spec*.
I haven't found a way to fix this issue without adding yet another pointer to the PyHeapTypeObject struct. |
|
Date |
User |
Action |
Args |
2021-10-20 16:35:05 | petr.viktorin | set | recipients:
+ petr.viktorin, seberg, shihai1991 |
2021-10-20 16:35:05 | petr.viktorin | set | messageid: <1634747705.33.0.409999972465.issue45315@roundup.psfhosted.org> |
2021-10-20 16:35:05 | petr.viktorin | link | issue45315 messages |
2021-10-20 16:35:05 | petr.viktorin | create | |
|