Pickling an instance of a class containing a dict doesn't work
Marco Lierfeld
marco.lierfeld at rwth-aachen.de
Thu Oct 12 10:39:19 EDT 2006
Jon Clements wrote:
>> if you change the above to:
>>
>> class subproject:
>> def __init__(self):
>> configuration = { }
>> build_steps = [ ]
>
> Of course, I actually meant to write self.configuration and
> self.build_steps; d0h!
Thank you Jon and Paul, you both were 100% right :)
But I still don't understand, why the list was saved and the dict was not...
confusing ;)
Bye,
Marco
More information about the Python-list
mailing list