You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Rewrite turtle's undo handling to fix various issues #158563
I propose adding a private context manager that circle(), dot(), write() and teleport() can use to group their actions into one undo step, so an exception can no longer leave the undo buffer merging every later action, and for teleport() to records its move so a single undo() reverts it. Also we need to guard stamp(), clearstamp(), clear() and reset() against a disabled undo buffer.
Activity
gh-158563: Fix various bugs in `turtle`'s undo handling (#158564)
[3.14] gh-158563: Fix various bugs in `turtle`'s undo handling (GH-15…
[3.15] gh-158563: Fix various bugs in `turtle`'s undo handling (GH-15…