Message404493
| Author |
petr.viktorin |
| Recipients |
petr.viktorin, seberg, shihai1991 |
| Date |
2021年10月20日.16:35:05 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1634747705.33.0.409999972465.issue45315@roundup.psfhosted.org> |
| In-reply-to |
| Content |
> 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. |
|
History
|
|---|
| 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 |
|