Undo steps are improtant for scripts so that scripts can be reverted after they were executed, really useful testing stuff.
import bpy
from mathutils import Matrix
from math import pi
bpy.ops.ed.undo_push(message="Script Call")
bpy.context.object.matrix_world = Matrix.Rotation(pi/15, 4, "Z")
Addon version: v0.0.18
Way to reproduce:
Undo steps are improtant for scripts so that scripts can be reverted after they were executed, really useful testing stuff.