Yehuda Katz <katye2...@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 <rep...@bugs.python.org> wrote: > > Nick Timkovich <prometheus...@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 <rep...@bugs.python.org> > <https://bugs.python.org/issue37968> > _______________________________________ > ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue37968> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com