[issue37968] The turtle

Yehuda Katz report at bugs.python.org
Wed Aug 28 13:08:26 EDT 2019


Yehuda Katz <katye2007 at gmail.com> added the comment:

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 at bugs.python.org>
wrote:

>
> Nick Timkovich <prometheus235 at 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 at bugs.python.org>
> <https://bugs.python.org/issue37968>
> _______________________________________
>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37968>
_______________________________________


More information about the Python-bugs-list mailing list