Path: csiph.com!usenet.pasdenom.info!news.franciliens.net!fdn.fr!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed2a.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.033 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'method.': 0.07; 'tkinter': 0.07; 'subject:question': 0.10; 'cc:addr:python-list': 0.11; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'wed,': 0.18; 'file,': 0.19; 'pieces': 0.19; 'feb': 0.22; 'code,': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'related': 0.29; 'message-id:@mail.gmail.com': 0.30; 'code': 0.31; 'lines': 0.31; "d'aprano": 0.31; 'steven': 0.31; 'file': 0.32; 'figure': 0.32; 'languages': 0.32; "i'd": 0.34; 'johnson': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'being': 0.38; 'pm,': 0.38; 'rather': 0.38; "you're": 0.61; 'telling': 0.64; 'containing': 0.69; 'find.': 0.84; 'involved.': 0.91; 'to:none': 0.92; 'rick': 0.93 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=g+z0fhLpeqBT637c0AuJZsVYk15222HlRvHxQN9EFxQ=; b=UsQitAxCZ0QQl0tyq4eLEs2B9c/Q0QvU5lp3W8uHRvmxFSwlvY/0W2jaeGT58j2l6F vAAdHnGJ3+uPfTwLCgf8RAj6KwMWHpVYVvxlsvQORYHlVvBlBavm9NqmeICeW71qKrT/ Zrtw8RcdA0CIZv40IqGZIK6FysBhdJliyGLNHdgJ3eI/OPZ0p3Jm0LsTLYFeiLqVE4Mh JKYT1j2pnJEj98SC4sWFUfXLuV15GB5j17yOKZ7l7YPH+jzri7ebkERdV+sSLfGDMD0r x82vVm/GByiK8t1aLPoDYx+29Il1my9VQwxKaSG5UCR2yDm1IjZUPiJB8N5xtk89Wxw2 XLaQ== MIME-Version: 1.0 X-Received: by 10.68.98.3 with SMTP id ee3mr38410649pbb.31.1392796783117; Tue, 18 Feb 2014 23:59:43 -0800 (PST) In-Reply-To: <53045df2$0$2788$c3e8da3$76491128@news.astraweb.com> References: <53020843.5010804@shopzeus.com> <851tz16fzt.fsf@benfinney.id.au> <53025198.1060000@shopzeus.com> <53045df2$0$2788$c3e8da3$76491128@news.astraweb.com> Date: Wed, 19 Feb 2014 18:59:43 +1100 Subject: Re: Import order question From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1392796786 news.xs4all.nl 2879 [2001:888:2000:d::a6]:60208 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:66672 On Wed, Feb 19, 2014 at 6:32 PM, Steven D'Aprano wrote: > On Tue, 18 Feb 2014 13:44:47 -0800, Rick Johnson wrote: > >> Are you telling me you're willing to search through a single file >> containing 3,734 lines of code (yes, Tkinter) ... > > For a mere 4000 lines of code, yes, I'd rather have it all in the one > file, presuming that they are all related pieces of code. If Tkinter were horribly unreadable, I would figure it as being because of the multiple languages involved. But I just pulled up tkinter/__init__.py to try to find OptionMenu, and it's 35 lines of easy-to-read code. And there's a destroy method. Not at all hard to find. ChrisA