[issue8616] Changes to content of Demo/turtle

2010-05-04 Thread Gregor Lingl

New submission from Gregor Lingl :

turtleDemo.py contains a string referring to the outdated xturtle.
Should be replaced according to the submitted diff.

Moreover I'd like to propose to add to demo-scripts to the Demo-directory, 
namely tdemo_nim.py and tdemo_round_dance.py as well as to replace the old 
tdemo_paint.py by the enhanced version tdemo_scribble.py. I'll add those files 
subsequently.
Regards,
Gregor

--
components: Demos and Tools
files: turtleDemo_27b1_to_turtleDemo.diff
keywords: patch
messages: 104977
nosy: georg.brandl, gregorlingl, loewis
priority: normal
severity: normal
status: open
title: Changes to content of Demo/turtle
versions: Python 2.7
Added file: http://bugs.python.org/file17208/turtleDemo_27b1_to_turtleDemo.diff

___
Python tracker 

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



[issue8616] Changes to content of Demo/turtle

2010-05-04 Thread Gregor Lingl

Changes by Gregor Lingl :


Added file: http://bugs.python.org/file17209/tdemo_nim.py

___
Python tracker 

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



[issue8616] Changes to content of Demo/turtle

2010-05-04 Thread Gregor Lingl

Changes by Gregor Lingl :


Added file: http://bugs.python.org/file17210/tdemo_round_dance.py

___
Python tracker 

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



[issue8616] Changes to content of Demo/turtle

2010-05-04 Thread Gregor Lingl

Changes by Gregor Lingl :


Added file: http://bugs.python.org/file17211/tdemo_scribble.py

___
Python tracker 

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



[issue8616] Changes to content of Demo/turtle

2010-05-04 Thread Éric Araujo

Changes by Éric Araujo :


--
nosy: +benjamin.peterson

___
Python tracker 

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



[issue8616] Changes to content of Demo/turtle

2010-05-24 Thread Georg Brandl

Georg Brandl  added the comment:

Hmm, it seems that round_dance and scribble don't work with the 2.7 turtle 
version?  I played a round of nim, but although I took the last stick, it said 
the computer won...

--

___
Python tracker 

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



[issue8616] Changes to content of Demo/turtle

2010-05-24 Thread Georg Brandl

Georg Brandl  added the comment:

Committed the turtleDemo_27b1_to_turtleDemo.diff in r81502.

--

___
Python tracker 

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



[issue8616] Changes to content of Demo/turtle

2010-05-25 Thread Gregor Lingl

Gregor Lingl  added the comment:

Yes, tdemo_raund_dance.py and tdemo_scribble.py definitely do not work
with turtle.py from Python 2.7 :-(
I submitted them expecting, that my backport of turtle.py from Python 3.1 to 
Python 2.7 would be accepted. But, alas, I was too late :-(((

So it's definitely ok not to add it to the turtle-demo-collection.

The case of tdemo_nim.py is a mystery to me. To be sure to use the incriminated 
version I downloaded it from here (bug-tracker) and tried it out several times. 
The malfunction you mentioned never did occur. 

Moreover I've checked the code. Ther are only two lines, 62 (initialization 
with None) and 72, containing assignments to the NimModel.winner attribute 
which decides about the winner's announcement. Cannot imagine why this 
shouldn't work correctly?

In fact the very same script is contained in Demo/turtle of Python 3.1.2 (in 
fact since 3.1) and up to now I never got any feedback about any malfunction 
whatever. So please could you check it once again and give some information in 
oder to be able to reproduce the effect mentioned? I'm definitely very 
interested in *know*ing if the script is faulty or not.

However, committing this demo script or not can safely be regarded as a very 
unimportant issue. 

Regards, Gregor

--

___
Python tracker 

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



[issue8616] Changes to content of Demo/turtle

2010-05-29 Thread Georg Brandl

Georg Brandl  added the comment:

OK, I tried again and it worked flawlessly.  Maybe I overlooked a stick last 
time :)

Committed in r81593.

--
resolution:  -> fixed
status: open -> closed

___
Python tracker 

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