Message1349
I've actually looked at this a little bit. __new__ is indeed called, but the dict passed in is ignored because the metatype is an instance of PyTypeDerived. __spam__ is in the dict of the PyType, but because __dict__ is assignable in all Derived classes with a dict instance, the dict there in PyTypeDerived hides the one in PyType. It's been a couple weeks since I touched this, but I should have some time in the coming week to get back to it and see if I had a suitable resolution. |
|
Date |
User |
Action |
Args |
2008-02-20 17:17:37 | admin | link | issue1605023 messages |
2008-02-20 17:17:37 | admin | create | |
|