-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
Fix turtle deprecations #89995
Comments
turtle's settiltangle was deprecated in Python 3.1: "Deprecated since version 3.1." https://docs.python.org/3.10/library/turtle.html#turtle.settiltangle says of settiltangle: And the reason: " https://docs.python.org/3.10/library/turtle.html#changes-since-python-3-0 However, in docstrings, tiltangle was accidentally marked as deprecated: "Deprecated since Python 3.1" https://github.com/python/cpython/blob/v3.10.0/Lib/turtle.py#L2880 Neither tiltangle nor settiltangle raise DeprecationWarnings. So let's:
BPO references: 2009 https://bugs.python.org/issue5923 - settiltangle originally deprecated, with rationale. 2010 https://bugs.python.org/issue7888 - the mixup was discovered and apparently corrected in py3k and release31-maint. I've not done the SCM archaeology to discover why this regressed. 2020 https://bugs.python.org/issue41165 - both mentioned as deprecated, mixup not noted. |
Thanks, Hugo! ✨ 🍰 ✨ |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: