Pickling classes -- disappearing lists?
aaron.hildebrandt at gmail.com
Tue Jul 14 01:00:18 CEST 2009
> Your class definition isn't right. It makes 'value' and 'journal'
> class variables (Java lingo: "static variables") as opposed to the
> instance variables they should be. Here's a corrected version:
Woah, thanks. I can't believe I made such a stupid mistake. It's not
like I'm a newcomer to Python, either. I'm can't believe I never
noticed what I was doing.
No more 2am coding for me.
More information about the Python-list