Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed3a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.008 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'versions.': 0.07; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:into': 0.09; 'runs': 0.10; 'jan': 0.12; 'systems.': 0.12; 'windows': 0.15; 'idle,': 0.16; 'loop.': 0.16; 'loops': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'routinely': 0.16; 'subject:Tkinter': 0.16; 'do,': 0.16; 'version.': 0.19; 'header:User-Agent:1': 0.23; 'documented': 0.24; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'code': 0.31; 'file': 0.32; 'run': 0.32; 'open': 0.33; 'running': 0.33; 'test': 0.35; 'but': 0.35; 'there': 0.35; 'version': 0.36; 'idle': 0.36; 'process,': 0.38; 'to:addr:python- list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'even': 0.60; 'received:173': 0.61; 'times': 0.62; 'more': 0.64; 'different': 0.65; 'between': 0.67; 'results': 0.69; 'received:fios.verizon.net': 0.84; 'seldom': 0.84; 'processes,': 0.91; 'hand,': 0.93 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: Tkinter widgets into classes. Date: Sat, 01 Feb 2014 20:26:09 -0500 References: <5e297400-3322-45aa-ab7e-016af083b259@googlegroups.com> <04a9d0b0-c968-42c2-94d2-93438558e227@googlegroups.com> <2377621f-a208-4a12-b66c-bb678df6efcf@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-254-207.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1391304389 news.xs4all.nl 2842 [2001:888:2000:d::a6]:34501 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:65247 Idle, which used tkinter, runs multiple windows in one process with one event loop. There is no reason I know of to run multiple event loops in one process, and if you do, the results will not be documented and might vary between runs or between different systems. Idle can also be run multiple times in multiple processes, each with its own event loop. But there is seldom a reason to do that with the same version. On the other hand, I routinely have more than one version running in order to test code with multiple versions. I can even have the same file open in multiple versions. -- Terry Jan Reedy