luvspython wrote:
> THANK YOU! Special-casing "__dict__" did the trick. Not sure I'd
> have ever figured that out, which leads to a different question:
>
> I can figure out most things, though perhaps very slowly and
> painfully, if I can trace through code. I use WingIDE (love it), but
> the
On Tue, Aug 30, 2011 at 2:22 AM, luvspython wrote:
> I can figure out most things, though perhaps very slowly and
> painfully, if I can trace through code. I use WingIDE (love it), but
> the execution
> of the C code is of course hidden, which helped stymie on this
> problem. Is there another to
On Aug 29, 5:02 am, Peter Otten <__pete...@web.de> wrote:
> luvspython wrote:
> > I have an application that needs to keep a history of the values of
> > several attributes of each of many instances of many classes. The
> > history-keeping logic is in a helper class, HistoryKeeper, that's
> > inhe
luvspython wrote:
> I have an application that needs to keep a history of the values of
> several attributes of each of many instances of many classes. The
> history-keeping logic is in a helper class, HistoryKeeper, that's
> inherited by classes like Vehicle in the example below.
>
> Pickling a
I have an application that needs to keep a history of the values of
several attributes of each of many instances of many classes. The
history-keeping logic is in a helper class, HistoryKeeper, that's
inherited by classes like Vehicle in the example below.
Pickling an instance of Vehicle works, bu