Message350674
Such a function would be welcomed.
For the best of my (limited) knowledge, there's currently no arc() function
in module turtle.
I can't think about a proper name... Sorry.
Yehuda
On Wed, Aug 28, 2019 at 7:55 PM Nick Timkovich <report@bugs.python.org>
wrote:
>
> Nick Timkovich <prometheus235@gmail.com> 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 <report@bugs.python.org>
> <https://bugs.python.org/issue37968>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2019-08-28 17:08:26 | Yehuda | set | recipients:
+ Yehuda, mark.dickinson, nicktimko |
2019-08-28 17:08:26 | Yehuda | link | issue37968 messages |
2019-08-28 17:08:26 | Yehuda | create | |
|