[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread bob moth
bob moth added the comment: Here is a debugged version of mylife, which cloned life2.py to use a class for turtle-ing. Note the difficulties at the end of the code -- ontimer(fun, delay) calls for a zero arg function, so draw() cannot be inside the class. Greatly annoying. But now we know. myl

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread bob moth
bob moth added the comment: Apparently the draw() function must call itself via ontimer. That is not in the docs. But 56 variations later...I just copied Grant Jenks. Apparently he knows what's what. And done() must be the last line. If first omitted, only one draw loop executed, but it quit

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread Ned Deily
Ned Deily added the comment: And, by the way, if it turns out that the problem could have been avoided by better documentation, another option is to re-open the issue with suggested doc changes. Patches welcome! -- ___ Python tracker

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread Ned Deily
Ned Deily added the comment: Sorry, there isn't a particular rush to close issues as some of them stay open for years. And that's not good for anyone. "resolved" on the issue tracking does not necessarily mean a problem is resolved to everyone's satisfaction, it just means that it is no lon

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread bob moth
bob moth added the comment: Thanks. I appreciate the time and effort. But I disagree with the characterization of this problem as 'Resolved'. Turtle is supposed to be simple enough for children yet no one can fix simple turtle code and stop an endless loop? What is the rush to close issues

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread Ned Deily
Ned Deily added the comment: You may might try asking on the freegames issue tracker or, better, on a more general support forum like Stackoverflow or Python-list. Because of the volume of issues reported here (and we are all volunteers), we really can't spend a lot of time helping debug ind

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread bob moth
bob moth added the comment: OK, thanks. The generated launcher shell command generated includes '-d -i' flags... so I tried running without those and voila, life.py terminates normally. Yay. :-) 2nd, I reviewed the order of commands and I saw that life2.py and mylife.py (the +1 version) did n

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread Ned Deily
Ned Deily added the comment: Alas, the Launcher app can be problematic and doesn't get much love. If you open the Launcher app's Preferences, you'll probably see that the "Interactive mode after acript" option is ticked. Either unselect it or, if you feel comfortable using a Terminal windo

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread bob moth
bob moth added the comment: hi - i do not use ā€˜iā€™...just drag to launcher... and sequence of commands is a good tip but smells like some kind of bug to me if the commands follow written rules. thanks for looking - > > -- ___ Python tracker

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread Ned Deily
Ned Deily added the comment: There seem to be at least two problems here. One, you say that running the unmodified life.py requires two Quit keyboard shortcuts (usually CMD-Q). From the shell output you give, that problem is most likely due to the use of -i with python: '/usr/local/bin/pyt

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread bob moth
bob moth added the comment: I rewrote the life2.py using a class in order to eliminate global variable declarations, and some other things, such as bringing freegames.util#square() instream to be independent of freegames, carefully accounting for every pixel output, etc. Works a little better

[issue35211] Turtle Shutdown Problem(s)

2018-11-11 Thread bob moth
bob moth added the comment: looking at the screen snapshot 'life.py alt-q once.jpg' -- the turtle code keeps running even though System.exit has been completed, and notice the traceback display in the shell caused by the alt-Q. a second press of alt-Q terminates the shell and the turtle code.

[issue35211] Turtle Shutdown Problem(s)

2018-11-10 Thread bob moth
Change by bob moth : Added file: https://bugs.python.org/file47923/life2.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue35211] Turtle Shutdown Problem(s)

2018-11-10 Thread bob moth
Change by bob moth : Added file: https://bugs.python.org/file47922/life.py ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue35211] Turtle Shutdown Problem(s)

2018-11-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Please quote only the relevant parts of the original email while replying from email since it duplicates the content and makes your reply hard to read. Also I think the bug tracker doesn't support attachments from email so please attach them here f

[issue35211] Turtle Shutdown Problem(s)

2018-11-10 Thread bob moth
bob moth added the comment: Here is the source, just simply Turtles... https://github.com/grantjenks/free-python-games Attached life.py and life2.py I don't know what cause the problem. I suspect there is more of a problem than just alt-Q

[issue35211] Turtle Shutdown Problem(s)

2018-11-10 Thread bob moth
bob moth added the comment: send to you? . > On Nov 10, 2018, at 14:41, Eric V. Smith wrote: > > > Eric V. Smith added the comment: > > Please create a small program that reproduces the problem. You should strip > out everything that isn't needed. There's no way we can guess the problem

[issue35211] Turtle Shutdown Problem(s)

2018-11-10 Thread Eric V. Smith
Eric V. Smith added the comment: Please create a small program that reproduces the problem. You should strip out everything that isn't needed. There's no way we can guess the problem without seeing the code. -- nosy: +eric.smith ___ Python tracker

[issue35211] Turtle Shutdown Problem(s)

2018-11-10 Thread Ned Deily
Change by Ned Deily : -- nosy: +gregorlingl, willingc ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue35211] Turtle Shutdown Problem(s)

2018-11-10 Thread bob moth
New submission from bob moth : Running life.py from the Free Python Games requires alt-Q twice, and the GUI keeps running after System.exit. Running life2.py, (which is my clone, and I will happily share it if you want a great stress tester that gobbles 100% of a CPU core for as long as you wa