KEMBAR78
[3.12] [3.13] gh-123370: Fix the canvas not clearing after running turtledemo.clock (gh-123457) (GH-125653) by miss-islington · Pull Request #125656 · python/cpython · GitHub
Skip to content

Conversation

@miss-islington
Copy link
Contributor

[3.13] gh-123370: Fix the canvas not clearing after running turtledemo.clock (GH-123457)

Rewriting the day and date every tick somehow prevented them from being removed either by clicking STOP or loading another example. The solution is to rewrite them only when they change.
(cherry picked from commit c124577)

(cherry picked from commit 30d7e9e)

Co-authored-by: Terry Jan Reedy tjreedy@udel.edu
Co-authored-by: Wulian xiguawulian@gmail.com

…tledemo.clock (pythongh-123457) (pythonGH-125653)

[3.13] pythongh-123370: Fix the canvas not clearing after running turtledemo.clock (pythonGH-123457)

Rewriting the day and date every tick somehow prevented them from being removed either by clicking STOP or loading another example.  The solution is to rewrite them only when they change.
(cherry picked from commit c124577)

(cherry picked from commit 30d7e9e)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Wulian <xiguawulian@gmail.com>
@terryjreedy terryjreedy enabled auto-merge (squash) October 17, 2024 16:52
@terryjreedy terryjreedy merged commit 5e62d9b into python:3.12 Oct 17, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants