Message350672
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? |
|
Date |
User |
Action |
Args |
2019-08-28 16:55:17 | nicktimko | set | recipients:
+ nicktimko, Yehuda |
2019-08-28 16:55:17 | nicktimko | set | messageid: <1567011317.44.0.578672676996.issue37968@roundup.psfhosted.org> |
2019-08-28 16:55:17 | nicktimko | link | issue37968 messages |
2019-08-28 16:55:17 | nicktimko | create | |
|