Nicolas Fleury wrote: > class array(arr.array): > def __getstate__(self): > return {'buffer': self.tostring()} > def __setstate__(self, dict): > self.fromstring(dict['buffer']) I also added __getinitargs__(), but it is not called...