[Mailman-Developers] Reconstructing config.pck

Donn Cave donn@u.washington.edu
Thu, 8 Aug 2002 11:18:48 -0700


Quoth barry@python.org (Barry A. Warsaw):
...
| Here's the sad part: by default, pickles are written in binary format
| so you're going to have a more fun plucking apart the pickle.  Pickles
| are essentially little state machines, and the `language' is defined
| in Python's pickle.py module.  UTSL is probably going to be your best
| option.

Stuff accumulates in Unpickler().stack, so assuming there's nothing
of interest after the start of invalid data, one could catch the
exception and examine "stack".  Beats vi, maybe.

	Donn Cave, donn@u.washington.edu