This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2010年05月04日 21:32 by gregorlingl, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| turtleDemo_27b1_to_turtleDemo.diff | gregorlingl, 2010年05月04日 21:32 | diff for a patch of turtleDemo.py | ||
| tdemo_nim.py | gregorlingl, 2010年05月04日 21:33 | script to be added to Demo/turtle | ||
| tdemo_round_dance.py | gregorlingl, 2010年05月04日 21:33 | script to be added to Demo/turtle | ||
| tdemo_scribble.py | gregorlingl, 2010年05月04日 21:34 | script to replace Demo/turtle/tdemo_paint.py | ||
| Messages (5) | |||
|---|---|---|---|
| msg104977 - (view) | Author: Gregor Lingl (gregorlingl) | Date: 2010年05月04日 21:32 | |
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 |
|||
| msg106397 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2010年05月24日 21:37 | |
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... |
|||
| msg106398 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2010年05月24日 21:38 | |
Committed the turtleDemo_27b1_to_turtleDemo.diff in r81502. |
|||
| msg106429 - (view) | Author: Gregor Lingl (gregorlingl) | Date: 2010年05月25日 11:44 | |
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 |
|||
| msg106712 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2010年05月29日 08:46 | |
OK, I tried again and it worked flawlessly. Maybe I overlooked a stick last time :) Committed in r81593. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:00 | admin | set | github: 52862 |
| 2010年05月29日 08:46:36 | georg.brandl | set | status: open -> closed resolution: fixed messages: + msg106712 |
| 2010年05月25日 11:44:56 | gregorlingl | set | messages: + msg106429 |
| 2010年05月24日 21:38:06 | georg.brandl | set | messages: + msg106398 |
| 2010年05月24日 21:37:13 | georg.brandl | set | messages: + msg106397 |
| 2010年05月04日 22:42:45 | eric.araujo | set | nosy:
+ benjamin.peterson |
| 2010年05月04日 21:34:28 | gregorlingl | set | files: + tdemo_scribble.py |
| 2010年05月04日 21:33:28 | gregorlingl | set | files: + tdemo_round_dance.py |
| 2010年05月04日 21:33:05 | gregorlingl | set | files: + tdemo_nim.py |
| 2010年05月04日 21:32:08 | gregorlingl | create | |