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:Python': 0.06; 'interpreter.': 0.07; 'anymore.': 0.09; 'badly': 0.09; 'occasionally': 0.09; 'subject:script': 0.09; 'worse': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'wrote': 0.14; 'eat': 0.16; 'imports': 0.16; 'subject:top': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'else,': 0.19; 'import': 0.22; 'cc:addr:python.org': 0.22; 'skip': 0.24; 'file.': 0.24; 'cc:2**0': 0.24; 'source': 0.25; 'header:In-Reply-To:1': 0.27; 'point': 0.28; 'chris': 0.29; "doesn't": 0.30; 'message- id:@mail.gmail.com': 0.30; 'that.': 0.31; 'disabled': 0.31; 'subject:the': 0.34; "can't": 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'nov': 0.38; 'files': 0.38; 'pm,': 0.38; '12,': 0.39; 'back': 0.62; 'kind': 0.63; 'choose': 0.64; 'grab': 0.64; 'to:addr:gmail.com': 0.65; 'details': 0.65; 'life': 0.66; 'believe': 0.68 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:to :cc:content-type; bh=P5icZeKeFQiFyemWSADmAwvpJ4doZ2/YNL39JJ1LYdA=; b=EaF8BF5eV4JRmJcU0QjBsUhFsiSlV8FR/Uw3Mh8PXjysltFHDRAorN3nCvK/His57G eBWWq35uJ0yKLMmbmJXTiV77DtSPErekDwrgWhkVvQquIbdNL/MM/lPyE2LSYYYfox/W +UXkc3zvr4Ff7DT6gfDj9M+ayQ1/GnF5w6ogPiR8npv6TgscovGA5HGuuszzDltRiSaX dG2y/aZk3pQXYGs+5HJSWOeeom72eYBQToPyiU2pTagR0JnrUZyyeOQi1Gz1RjFQz6hg C2YexffVI2xTxhf/wVEOe7I3sjh7UCeo8dZmzFHcTJGKPKtaO7qzC6s/JJ5N/OiKBStr irCA== MIME-Version: 1.0 X-Received: by 10.107.130.98 with SMTP id e95mr3512822iod.87.1415815793348; Wed, 12 Nov 2014 10:09:53 -0800 (PST) In-Reply-To: References: Date: Wed, 12 Nov 2014 13:09:53 -0500 Subject: Re: __missing__ for the top-level Python script From: Skip Montanaro To: Chris Angelico Content-Type: text/plain; charset=UTF-8 Cc: "python-list@python.org" 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: 1415815796 news.xs4all.nl 2947 [2001:888:2000:d::a6]:57915 X-Complaints-To: abuse@xs4all.nl Path: csiph.com!usenet.pasdenom.info!bete-des-vosges.org!feed.ac-versailles.fr!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Xref: csiph.com comp.lang.python:80617 On Wed, Nov 12, 2014 at 12:49 PM, Chris Angelico wrote: > Interesting data point there - that you actually have it handy and > choose not to use it. And, I believe I wrote it. Can't have a worse recommendation than that. A cook who doesn't eat his own cooking. :-) I think I disabled its import sometime in the distant past when it interacted badly with something else, but for the life of me, I can't remember the details anymore. I will occasionally paste functions from Python source files into the interactive interpreter. This autoload functionality can be kind of handy there so you don't have to go back and also grab the imports from the top of the source file. Skip