Message324279
I don't agree with "This means that a PyTypeObject's ob_type should always be set by PyType_Ready.", and therefore don't agree with the change to PyVarObject_HEAD_INIT.
In particular this is not correct when the type has a custom metatype (e.g. ob_type != &PyType_Type).
BTW. I don't understand why changing the invocation of PyVarObject_HEAD_INIT is needed at all. Adding calls to PyType_Ready can be don without that change (and I agree with explicitly initialising all types). |
|
Date |
User |
Action |
Args |
2018-08-28 19:29:45 | ronaldoussoren | set | recipients:
+ ronaldoussoren, eelizondo |
2018-08-28 19:29:45 | ronaldoussoren | set | messageid: <1535484585.06.0.56676864532.issue34522@psf.upfronthosting.co.za> |
2018-08-28 19:29:45 | ronaldoussoren | link | issue34522 messages |
2018-08-28 19:29:44 | ronaldoussoren | create | |
|