Extending the dict class

Fredrik Lundh fredrik at pythonware.com
Tue Aug 29 09:39:55 EDT 2006


Tim N. van der Leeuw wrote:

>> maybe you could fake it:
>>
> No you cannot fake it, because the ** form of passing arguments
> constructs a new dictionary (and that dictionary is the standard
> built-in type of dictionary, not your own fake-dictionary).

yeah, I thought he was passing a dictionary to a SOAPpy method.  passing
custom types through the argument handling layer doesn't work.

</F> 






More information about the Python-list mailing list