[New-bugs-announce] [issue41528] Use math module in turtle
report at bugs.python.org
Wed Aug 12 03:36:26 EDT 2020
New submission from Marek Madejski <marekmadejski at gmail.com>:
"Turtle" module is closely related to geometry, which is also covered by "math" (and "cmath") module. Nevertheless, in many places in "turtle" the wheel is being reinvented. Currently, only π and basing trig functions are used.
Performance may be improved by such refactor (for example, by using "math.hypot" instead of manual calculation of vector norm).
components: Library (Lib)
title: Use math module in turtle
versions: Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce