-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
Add turtle module into installion option tcl/tk #125729
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
Comments
But I still found turtle.py in Lib folder even I didn't tick the option, is it a bug? (Tested in 3.13.0) |
I sorry for my mistake. You were right. Unchecking tcl/tk will remove the installation of turtledemo, https://github.com/python/cpython/blob/main/Tools%2Fmsi%2Ftcltk%2Ftcltk.wixproj#L31-L31 but turtle will still be installed. However, turtle depends on tkinter. |
I have informally suggested this somewhere once, but never made an issue. It seems sensible, so thanks. I do not know the situation on Mac, so included it also. What *nix distributions do is out of our hands. What does turtle do when I believe that there is some tkinter code somewhere in tools. If so, it should fail gracefully. IDLE tries to fail gracefully (write a message) if |
Is the proposal here to list "turtle" as something that is added/removed with the Tcl/Tk option (that is, update the text in the installer)? Or do we need to actually make it add/remove with that option (that is, update the behaviour of the installer)? I'm pretty sure we stopped distributing the Tools directory a while ago. |
Both:
I an not sure what happens on Macs. |
The Python for macOS installers we provide on python.org do not have an option to not install tkinter, IDLE, or turtle. |
Thanks. Then this is Windows only. |
Just like @terryjreedy said. |
…t on the Tcl/Tk install option (pythonGH-126176)
Feature or enhancement
Proposal:
Just as the title said, add turtle module into the option in the picture:

Because the turtle module is a tool requiring tkinter, why should it added since the user didn't want to install tkinter?
Has this already been discussed elsewhere?
This is a minor feature, which does not need previous discussion elsewhere
Links to previous discussion of this feature:
No response
Linked PRs
turtle
module dependent on the Tcl/Tk installer option. #126176The text was updated successfully, but these errors were encountered: