Destroy the turtle window after its doctests finish#125294
Destroy the turtle window after its doctests finish#125294zware merged 3 commits intopython:mainfrom
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/