Issue812986
Created on 2003年09月26日 10:33 by glingl, last changed 2022年04月10日 16:11 by admin. This issue is now closed.
| Files |
| File name |
Uploaded |
Description |
Edit |
|
turtle_.py
|
glingl,
2003年09月28日 22:08
|
this is turtle.py + a patch in line 290 |
| Messages (4) |
|
msg18384 - (view) |
Author: Gregor Lingl (glingl) (Python committer) |
Date: 2003年09月26日 10:33 |
interactive use of turtle.py becomes impossible,
e.g.when issuing tracer(0) because in this
case apparently updating of Canvas-Widget is
deferred ...
... until the next tracer(1)
(one can observe this when running the demo() )
Inserting a _canvas.update() call in _draw_turtle()
for the case that tracing is off seems to work:
def _draw_turtle(self,position=[]):
if not self._tracing:
self._canvas.update() # <== insert this line!
return
if position == []: # etc.etc.
I have attached a corrected version as turtle_.py
Gregor Lingl
|
|
msg18385 - (view) |
Author: Jeff Epler (jepler) |
Date: 2003年09月28日 14:52 |
Logged In: YES
user_id=2772
You did not attach a file. You must select a filename *and* turn on the checkbox to do so.
|
|
msg18386 - (view) |
Author: Gregor Lingl (glingl) (Python committer) |
Date: 2003年09月28日 22:08 |
Logged In: YES
user_id=505031
OH! Here is the file mentioned above
|
|
msg18387 - (view) |
Author: Martin v. Löwis (loewis) * (Python committer) |
Date: 2006年06月17日 18:44 |
Logged In: YES
user_id=21627
Thanks for the patch. Committed as r47007.
|
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2022年04月10日 16:11:24 | admin | set | github: 39307 |
| 2003年09月26日 10:33:58 | glingl | create |