Message26383
Logged In: YES
user_id=357491
OK, then I am going to need a little guidance to dive into
this more since this is going into some murky waters for me. =)
For the normal, non-evil case of an empty Python class
(``class Foo(object): pass``), I would think that accessing
__dict__ would fall through to the tp_getset for object, and
then fall to the same slot for type. Now that is obviously
not happening since you get a straight dict back for that
attribute access and not a dict proxy as would be suggested
based on my logic listed above.
So, my question is, where is the code that handles fetching
Foo().__dict__? And if you have an inkling of where I
should be looking in terms of possible refcounting additions
that would be great as well. |
|
Date |
User |
Action |
Args |
2007-08-23 14:34:48 | admin | link | issue1303614 messages |
2007-08-23 14:34:48 | admin | create | |
|