En Thu, 10 Sep 2009 20:09:34 -0300, Matthew Wilson m...@tplus1.com
escribió:
I subclassed the dict class and added a __setstate__ method because I
want to add some extra steps when I unpickle these entities. This is a
toy example of what I am doing:
class Entity(dict):
def
I subclassed the dict class and added a __setstate__ method because I
want to add some extra steps when I unpickle these entities. This is a
toy example of what I am doing:
class Entity(dict):
def __setstate__(self, d):
log.debug(blah...)
Based on my experiments, the