[issue14117] Turtledemo: exception and minor glitches.

2018-10-24 Thread STINNER Victor


STINNER Victor  added the comment:

See also bpo-35039 which removed now useless clock() calls from 
Lib/turtledemo/penrose.py.

--
nosy: +vstinner

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread miss-islington


miss-islington  added the comment:


New changeset 00e05242ae650bc29e8052a5fb79cbb83224a657 by Miss Islington (bot) 
in branch '3.6':
bpo-14117: Make minor tweaks to turtledemo (GH-8002)
https://github.com/python/cpython/commit/00e05242ae650bc29e8052a5fb79cbb83224a657


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread miss-islington


miss-islington  added the comment:


New changeset e2c5a753fa3eabe176c34048e3b68674f99386b0 by Miss Islington (bot) 
in branch '3.7':
bpo-14117: Make minor tweaks to turtledemo (GH-8002)
https://github.com/python/cpython/commit/e2c5a753fa3eabe176c34048e3b68674f99386b0


--
nosy: +miss-islington

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7611

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread miss-islington


Change by miss-islington :


--
pull_requests: +7610
stage: commit review -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset 891a1f86d415779cf67ca23e626a868e586feb05 by Terry Jan Reedy in 
branch 'master':
bpo-14117: Make minor tweaks to turtledemo (GH-8002)
https://github.com/python/cpython/commit/891a1f86d415779cf67ca23e626a868e586feb05


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

PR 8002 fixes the remaining minor problems.

--
stage: patch review -> commit review
versions: +Python 3.6, Python 3.7, Python 3.8 -Python 2.7, Python 3.4, Python 
3.5

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
pull_requests: +7609
stage: needs patch -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2018-06-28 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

#21884 was closed as a duplicate of #21882 and hence not a separate dependency.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2018-06-17 Thread Mark Lawrence


Change by Mark Lawrence :


--
nosy:  -BreamoreBoy

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2018-06-16 Thread Carol Willing


Carol Willing  added the comment:

Hi @terry.reedy,

I'm triaging open "turtle" issues. What do you think would be a reasonable next 
step for this issue? Perhaps: a contributor runs the demo and reports back here 
with the current behavior experienced.

--
nosy: +willingc

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2015-04-14 Thread Chris Abiad

Chris Abiad added the comment:

Running through each of the demos, it seems as though only 'penrose' and 'tree' 
have console/shell output.

'penrose' output is a list of information about the current rendering and has a 
format like:
Calculation:0.0009 s
Drawing:   0.0074 s
Together:  0.0083 s
5 kites and 0 darts = 5 pieces.
(... This repeats with updated information for each rendering ...)

I believe that there's too much output right now to include this in the demo 
window's message button area. It might be interesting to show most or all of 
this information with a turtle.write() in the graphical area, but I think that 
the better option is just to remove (or at least comment out) the timing 
information entirely and show only the '5 kites and 0 darts = 5 pieces' portion 
in the message button area.

I could submit a patch for either 'penrose' option if there's interest.

The 'tree' prints a count of the number of turtles created at the end of the 
run. Console output looks like:
1024

I think this is not very useful, except perhaps when debugging the demo. I've 
attached a patch which removes this output.

--
keywords: +patch
nosy: +cabiad
Added file: http://bugs.python.org/file38986/14117_tree_output.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14117
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2014-07-23 Thread Terry J. Reedy

Terry J. Reedy added the comment:

Added #21933, change text font size, as dependency.
Added new #22051 remove reload, as dependency.
#18132: stop demo buttons from disappearing, was fixed by #21507 patch.

--
dependencies: +Allow the user to change font sizes with the text pane of 
turtledemo, Turtledemo: stop reloading demos

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14117
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2014-07-23 Thread Terry J. Reedy

Terry J. Reedy added the comment:

#22053 added main(), eliminated 'while RUN', and fixed this a 3.x debug 
shutdown message.

The main remaining problem I am aware of now is that some demos 'print' 
messages to the console (or shell), which would be a problem if there were not 
one (as with pythonw).  Except for one demo, the messages would fit on the demo 
window message button. A possible fix would be to call demo.main with the 
button, so mainloop demos could write back to it.
(Normal demo returns are put there now.)

--
versions: +Python 2.7

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14117
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2014-07-12 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
dependencies: +Index and update turtledemo doc.

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14117
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2014-06-30 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
dependencies: +turtledemo modules imported by test___all__ cause side effects 
or failures

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14117
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2014-06-30 Thread Terry J. Reedy

Terry J. Reedy added the comment:

21884 removed or moved global system-changing or gui calls to main. Wrapping 
two_canvases code (except for window preserving mainloop) to a new main fixed 
its problems.

Should remove reload from main driver, and test.

--

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14117
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2014-06-24 Thread Mark Lawrence

Mark Lawrence added the comment:

Confirmed still a problem in 3.4.1 on Win7.

--
nosy: +BreamoreBoy
versions: +Python 3.4, Python 3.5 -Python 3.2, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14117
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2014-06-24 Thread Terry J. Reedy

Terry J. Reedy added the comment:

#21823 fixed the Terminator issue 3 days ago.

#21597 is about making the text pane resizable.
The doc strings for peace, planet_and_moon, and tree need a bit of re-wrapping. 
The paint instruction is wrong. I am working on these now.

Use mouse/keys or Stop is a generic prompts for all 'special' demos that 
continue after xyz.main returns. keys is never right for the current set of 
demos.

The text for two_canvases does not load. I think this can be fixed.

--
dependencies: +Allow turtledemo code pane to get wider., Catch 
turtle.Terminator exceptions in turtledemo
nosy: +rhettinger

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14117
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2014-06-24 Thread Terry J. Reedy

Changes by Terry J. Reedy tjre...@udel.edu:


--
assignee:  - terry.reedy
stage:  - needs patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14117
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2014-06-24 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 129ec3d90a67 by Terry Jan Reedy in branch '2.7':
Issue #14117: Inprove help text and docstrings, some for clarity, some just to
http://hg.python.org/cpython/rev/129ec3d90a67

New changeset 713a774ca68a by Terry Jan Reedy in branch '3.4':
Issue #14117: Inprove help text and docstrings, some for clarity, some just to
http://hg.python.org/cpython/rev/713a774ca68a

--
nosy: +python-dev

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14117
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue14117] Turtledemo: exception and minor glitches.

2012-02-24 Thread Terry J. Reedy

New submission from Terry J. Reedy tjre...@udel.edu:

Win7, 3.2.2, python -m turtledemo in Command Prompt Window

After running clock example, hitting Stop results in following:
Clock face, including hands, is erased. Day and date are left (intentional?), 
and the following appears back in command prompt window.

Exception in Tkinter callback
Traceback (most recent call last):
  File C:\Programs\Python32\lib\tkinter\__init__.py, line 1399, in __call__
return self.func(*args)
  File C:\Programs\Python32\lib\tkinter\__init__.py, line 487, in callit
func(*args)
  File C:\Programs\Python32\lib\turtledemo\clock.py, line 116, in tick
second_hand.setheading(6*sekunde)
  File C:\Programs\Python32\lib\turtle.py, line 1936, in setheading
self._rotate(angle)
  File C:\Programs\Python32\lib\turtle.py, line 3279, in _rotate
self._update()
  File C:\Programs\Python32\lib\turtle.py, line 2660, in _update
self._update_data()
  File C:\Programs\Python32\lib\turtle.py, line 2646, in _update_data
self.screen._incrementudc()
  File C:\Programs\Python32\lib\turtle.py, line 1285, in _incrementudc
raise Terminator
turtle.Terminator

Demo continues to run.

Paint: Left clicking mouse moves dot without painting. Right clicking changes 
mode so left clicking draws line. It also causes some filling of enclosed 
regions. This double action is slightly obscure. The prompt on the bottom of 
the screen says Use mouse/keys or Stop As near as I can tell, keys are 
inactive. So prompt could delete '/keys'.

Module doc strings that explain each demo should be wrapped so that they appear 
in the code window without scrolling. Or the left window could be wider, 
especially if the user widens the window. 800x600 screens are pretty rare these 
days. 

'Wikipedia' is a poor name for something just because it happened to be there. 
'Rosette', for instance, would be better.

--
components: Library (Lib)
messages: 154164
nosy: terry.reedy
priority: normal
severity: normal
status: open
title: Turtledemo: exception and minor glitches.
type: behavior
versions: Python 3.2, Python 3.3

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14117
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com