Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #80617

Re: __missing__ for the top-level Python script

Return-Path <skip.montanaro@gmail.com>
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 <CAPTjJmrikcja8MbhgwmHvFDdgigQaHwsYo+tLR5q6OLfhPHcJQ@mail.gmail.com>
References <CAPTjJmpVVfPzwrbeornk9Txyfiz+H5MDfHG2nY_9va7RCUEmEw@mail.gmail.com> <CAPTjJmrhz7crC2_x+ZN9sLgPvd8B1Yn8skzMSTBXJ6gSj55TqQ@mail.gmail.com> <CANc-5UybJQu+QgUrL-kS4XUH5iQHHuWJfaqDu-y00PcvszY5PQ@mail.gmail.com> <CAPTjJmrikcja8MbhgwmHvFDdgigQaHwsYo+tLR5q6OLfhPHcJQ@mail.gmail.com>
Date Wed, 12 Nov 2014 13:09:53 -0500
Subject Re: __missing__ for the top-level Python script
From Skip Montanaro <skip.montanaro@gmail.com>
To Chris Angelico <rosuav@gmail.com>
Content-Type text/plain; charset=UTF-8
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.15733.1415815796.18130.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Wed, Nov 12, 2014 at 12:49 PM, Chris Angelico <rosuav@gmail.com> 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

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: __missing__ for the top-level Python script Skip Montanaro <skip.montanaro@gmail.com> - 2014-11-12 13:09 -0500

csiph-web