-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Destroy the turtle window after its doctests finish #125294
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
Could you try again? It works perfectly for me. |
Which platforms are we all testing on? I had completely forgotten about this, but would have been on Linux. |
I was testing on Windows, Alex's screenshot (above) looks like macOS. |
I'm on Ubuntu. Maybe Alex (or someone on a macOS) could run:
I've asked a friend of mine to do this. In his case, the turtle window is gone. However, the Tk process was kept alive. He said that it is a macOS feature. And it is also different from Alex's case. |
Two out of three isn't bad :). I wonder about going ahead with this since it will improve things for anyone on Windows or Linux, and if anyone can come up with a fix that works on macOS it can of course be patched in later. Skimming through the Footnotes
|
from memory, I don't think this made the situation any worse for me, so if it improves the situation on other platforms please go ahead! |
📚 Documentation preview 📚: https://cpython-previews--125294.org.readthedocs.build/