I read the new PEP about pickling with much interest and little comprehension. I'd like to comment then just by saying what I wish I could do and invite response as to whether the PEP will help do it. I would like to be able to: Save and restore a class definition Save and restore a function definition