Path: csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed6.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.003 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'subject:IDLE': 0.05; 'tkinter': 0.07; 'fixed,': 0.09; 'terry': 0.09; 'jan': 0.11; 'idle,': 0.16; 'received:80.91': 0.16; 'received:80.91.229': 0.16; 'received:gmane.org': 0.16; 'received:list': 0.16; 'received:verizon.net': 0.16; 'reedy': 0.16; 'runs': 0.18; 'code,': 0.19; 'wrote:': 0.19; 'example': 0.19; 'all,': 0.21; 'doc': 0.21; 'header:In-Reply-To:1': 0.22; 'bugs': 0.23; 'window': 0.23; 'code.': 0.23; 'that.': 0.24; 'idea': 0.24; 'header:User- Agent:1': 0.26; '2.6': 0.27; 'fixed': 0.29; 'header:X-Complaints- To:1': 0.29; 'patch': 0.30; 'itself': 0.31; 'am,': 0.34; 'to:addr :python-list': 0.35; 'should': 0.35; 'there': 0.36; 'another': 0.36; 'bad': 0.36; 'received:org': 0.36; 'several': 0.37; 'subject:: ': 0.37; 'system.': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'received:net': 0.60; 'more': 0.63; 'subject:get': 0.82; 'suffer': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Tkinter: IDLE can't get out of mainloop Date: Sat, 31 Mar 2012 06:29:27 -0400 References: <1333179779.2280.50.camel@hatchbox-one> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-74-109-121-73.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: <1333179779.2280.50.camel@hatchbox-one> 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: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1333189809 news.xs4all.nl 6916 [2001:888:2000:d::a6]:35326 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:22417 On 3/31/2012 3:42 AM, Frederic Rentsch wrote: > Hi all, > > Is is a bad idea to develop Tkinter applications in IDLE? I understand > that IDLE is itself a Tkinter application, supposedly in a mainloop and > mainloops apparently don't nest. In standard configuration, one process runs IDLE, another runs user code, including tkinter code. So there should be no interference. The example in the tkinter doc runs from IDLE edit window on my system. The revised example in coming releases works even better. There have been several IDLE bugs fixed in the last few months, and even more since 2.6 before that. Upgrade if you can to get fixes, suffer the bugs since fixed, or patch your 2.6 installation. -- Terry Jan Reedy