Pickle protocol is very flexible. E.g. __getstate__ is handy for filtering persistent content. HTH Niki Spahiev