[issue37968] The turtle

2019-08-28 Thread Yehuda Katz
Yehuda Katz 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 wrote: > > Nick Timkovich

[issue37968] The turtle

2019-08-28 Thread Mark Dickinson
Mark Dickinson added the comment: > 1 the next code SHOULD produce an error message. Think that it's followed > by a few dozens of code lines: > from turtle import * > fd; rt(90) There's no reasonable mechanism in current Python by which this could produce an error message; it's not an

[issue37968] The turtle

2019-08-28 Thread Nick Timkovich
Nick Timkovich 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

[issue37968] The turtle

2019-08-28 Thread Yehuda Katz
Yehuda Katz added the comment: Hi, Sorry to say but these don't satisfy my issues. 1 the next code SHOULD produce an error message. Think that it's followed by a few dozens of code lines: from turtle import * fd; rt(90) 2 Old Logo had a useful function of creating a circle AROUND THE TURTLE.

[issue37968] The turtle

2019-08-28 Thread Yehuda Katz
Yehuda Katz added the comment: Sorry to say but these don't satisfy my issues. 1 the next code SHOULD produce an error message. Think that it's followed by a few dozens of code lines: from turtle import * fd; rt(90) 2 Old Logo had a useful function of creating a circle AROUND THE TURTLE. It

[issue37968] The turtle

2019-08-28 Thread Nick Timkovich
Nick Timkovich added the comment: Regarding #1: In Python, you may refer to a variable's name (e.g. `rt`, which is a function), which often has no effect in a script. In the REPL (where you see >>>) it is useful to inspect the object: >>> turtle.rt In order to call that name/function,

[issue37968] The turtle

2019-08-28 Thread Yehuda Katz
New submission from Yehuda Katz : 1 - turtle bug: If I don't put parenthesis at the end of a line, I don't get error message. Try this: from turtle import * fd(50); rt done() 2 - request: Highly desirable a function that draws a circle with radius n