Python code that fails early and reads clearly.
Recent revisions are kept. Restoring one creates a new revision.