Message372696
The current goal from what I can tell for Python is to have all C based modules move away from static types and instead use "PyType_FromSpec" and the variant that specifies base classes.
The only problem is, PyType_FromSpec and it's variant makes the assumption the caller wants "PyType_Type" as the type's metaclass.
Why not add companion methods to them prefixed with "PyMetaType" and have the "PyType" ones internally invoke these new methods with "PyType_Type" as the metaclass (to keep existing behavior and backwards compatibility) |
|
Date |
User |
Action |
Args |
2020-06-30 15:34:35 | WildCard65 | set | recipients:
+ WildCard65 |
2020-06-30 15:34:35 | WildCard65 | set | messageid: <1593531275.14.0.931108904355.issue41171@roundup.psfhosted.org> |
2020-06-30 15:34:35 | WildCard65 | link | issue41171 messages |
2020-06-30 15:34:35 | WildCard65 | create | |
|