Message1349

Author cgroves
Recipients
Date 2006-12-24.02:45:55
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.
History
Date User Action Args
2008-02-20 17:17:37adminlinkissue1605023 messages
2008-02-20 17:17:37admincreate