Pickling an instance of a class containing a dict doesn't work

Jon Clements joncle at googlemail.com
Thu Oct 12 10:13:36 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!




More information about the Python-list mailing list