809b33b69a
Calling undo in from Python background-mode would raise an exception without any information about how to initialize undo.