Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.tele.dk!feed118.news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'bug': 0.02; 'newbie': 0.03; 'received:verizon.net': 0.07; 'terry': 0.07; 'python': 0.08; 'canvas': 0.09; 'loop.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:80.91.229.12': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'received:lo.gmane.org': 0.09; 'tkinter': 0.09; 'tracker': 0.09; 'turtle': 0.09; 'underlying': 0.09; 'wrote:': 0.15; '(multiple': 0.16; 'reedy': 0.16; 'looked': 0.16; 'pm,': 0.16; 'issue.': 0.19; 'jan': 0.19; 'memory': 0.21; 'header:In-Reply-To:1': 0.22; 'code.': 0.22; 'specifically': 0.26; 'changing': 0.28; 'random': 0.28; 'module': 0.30; 'at.': 0.30; 'fun.': 0.30; 'this.': 0.31; 'hi,': 0.31; 'lines': 0.31; 'actually': 0.33; 'to:addr:python- list': 0.34; 'header:X-Complaints-To:1': 0.34; 'header:User- Agent:1': 0.34; 'there': 0.34; 'be,': 0.35; 'purely': 0.35; 'probably': 0.35; 'running': 0.35; 'issue': 0.37; 'some': 0.37; 'using': 0.37; 'received:org': 0.38; 'subject:: ': 0.38; 'something': 0.38; 'should': 0.39; 'header:Mime-Version:1': 0.39; 'to:addr:python.org': 0.39; 'might': 0.39; 'actively': 0.40; 'maintaining': 0.40; 'your': 0.60; 'straight': 0.66; 'became': 0.67; 'goals': 0.68; 'strange': 0.68; 'steady': 0.80; 'subject:down': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: turtles slowing down Date: Tue, 19 Jul 2011 22:29:57 -0400 References: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: quoted-printable X-Gmane-NNTP-Posting-Host: pool-74-109-121-73.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1311129011 news.xs4all.nl 23836 [2001:888:2000:d::a6]:43082 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:9927 On 7/19/2011 6:02 PM, EricC wrote: > Hi, > > I am a newbie - I have been teaching myself Python 3 since a few > months ago. My =93self assignments=94 include some purely for fun. Amon= g > them was using the turtle module to have multiple turtles running > around on the screen. > > Recently one such fun turtle =93project=94 showed strange behavior that= I > cannot understand =96 while I achieved my goals (multiple turtles > oscillate along random straight lines while changing colors), there > was a steady slowing down of turtles as time goes. Actually they > became so slow it is not even fun to look at. There is a bug issue on the tracker that may be related to this.=20 Unfortunately, the reviser of the turtle module is not actively=20 maintaining it any more, though this might be an underlying tkinter or=20 tk issue. Probably something is not being deleted that should be, or you = are simply overloading the canvas memory and re-compute loop. I have not specifically looked at your code. --=20 Terry Jan Reedy