Nick Timkovich <[email protected]> added the comment:
Resolving #1 as you suggest is next to impossible. Python can not deduce if you
meant to call the function or just refer to its name. Admittedly, the latter is
strange in non-interactive contexts, but it is valid.
#2, as far as I can tell Logo had an ARC command:
ARC angle radius
draws an arc of a circle, with the turtle at the center,
with the specified radius, starting at the turtle's
heading and extending clockwise through the specified
angle. The turtle does not move.
I guess I don't know the history about why there's turtle.circle in Python
which *does* move the turtle, and has the center *not* at the turtle. Adding an
equivalent "turtle.arc" function might be useful, though the naming would be a
bit confusing. Can you propose a better name and define exactly how it would
work?
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue37968>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com