Message308368
This isn't so easy. You can't just access new slot, because this is binary incompatible. You should add new type flag, say Py_TPFLAGS_HAVE_CLASS, set it for all classes with tp_as_class, and guard access to tp_as_class with
if (!PyType_HasFeature(tp, Py_TPFLAGS_HAVE_CLASS)) |
|
| Date |
User |
Action |
Args |
| 2017-12-15 07:51:15 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, gvanrossum, pitrou, yselivanov, levkivskyi |
| 2017-12-15 07:51:15 | serhiy.storchaka | set | messageid: <1513324275.55.0.213398074469.issue32332@psf.upfronthosting.co.za> |
| 2017-12-15 07:51:15 | serhiy.storchaka | link | issue32332 messages |
| 2017-12-15 07:51:15 | serhiy.storchaka | create | |
|