Extending the dict class

chosechu chosechu at gmail.com
Tue Aug 29 09:03:34 EDT 2006


> (the exact set of methods you need to override depends on how SOAPpy
> fetches the members).

[fakedict class]
This I did. And checking out the source it seems SOAPpy retrieves named
parameters through keys(), which is the method I tried to overload.
Trouble is:
something happens to my fakedict object when getting through this:
d = fakedict(...)
SOAPmethod(**d)
I have the impression **d acts like a dict constructor, taking over my
fakedict class. I know I could find the answer by scrutinizing the
source,
call me lazy.




More information about the Python-list mailing list