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
When I taught Python with Turtle, I always had to find other examples when I got to context managers. This is a shame, as there are several places in the Turtle module where context managers make sense. The most obvious places (in my opinion) are:
Feature or enhancement
Proposal:
When I taught Python with Turtle, I always had to find other examples when I got to context managers. This is a shame, as there are several places in the Turtle module where context managers make sense. The most obvious places (in my opinion) are:
turtle.begin_fill()
/turtle.end_fill()
turtle.begin_poly()
/turtle.end_poly()
turtle.tracer(0)
/turtle.tracer(1)
(disable animations)@MarieRoald and I plan to submit a PR about this shortly
Has this already been discussed elsewhere?
I have already discussed this feature proposal on Discourse
Links to previous discussion of this feature:
https://discuss.python.org/t/improving-the-turtle-library/61840
Linked PRs
fill
,poly
andno_animation
#126350The text was updated successfully, but these errors were encountered: