Keep your Python code simple and easy to test.
Recent revisions are kept. Restoring one creates a new revision.