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
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.
Activity
hugovk commentedon Nov 18, 2021
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:
"
Turtle.tiltangle()has been enhanced in functionality: it now can be used to get or set the tiltangle.Turtle.settiltangle()has been deprecated."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.
ambv commentedon Nov 18, 2021
New changeset c94664c by Hugo van Kemenade in branch 'main':
bpo-45837: Properly deprecate turtle.RawTurtle.settiltangle (GH-29618)
c94664c
ambv commentedon Nov 19, 2021
New changeset e8d41ee by Hugo van Kemenade in branch '3.9':
bpo-45837: Note tiltangle is not deprecated, it's really settiltangle (GH-29630)
e8d41ee
ambv commentedon Nov 19, 2021
New changeset 9501e8d by Hugo van Kemenade in branch '3.10':
bpo-45837: Note tiltangle is not deprecated, it's really settiltangle (GH-29629)
9501e8d
ambv commentedon Nov 19, 2021
Thanks, Hugo! ✨ 🍰 ✨