Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #80685
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!ecngs!feeder2.ecngs.de!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.004 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'read.': 0.03; 'interpreter': 0.05; 'definitions': 0.07; 'things,': 0.09; 'subject:How': 0.10; 'cc:addr:python-list': 0.11; 'defined.': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'interpreter,': 0.16; 'roy': 0.16; 'sees': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'header:In-Reply- To:1': 0.27; 'point': 0.28; 'am,': 0.29; 'message- id:@mail.gmail.com': 0.30; 'subject:some': 0.31; 'though.': 0.31; 'fri,': 0.33; 'received:google.com': 0.35; '14,': 0.36; 'nov': 0.38; 'that,': 0.38; 'use.': 0.39; 'how': 0.40; 'worry': 0.60; 'smith': 0.68; 'laid': 0.84; 'to:none': 0.92 |
| 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=17kv9Uz/clXsy7g0ItbmtQoTuHvPivCC1PonkET9khI=; b=g0LdqSnEF+8euY5cS9jvejX1BJ8Ms/DbNM59tc+0YzzUOK1B00R51qxo2pMmYEtHoH omUwanLJHp0ED8JBHOwrRyiQegS8ZwrWV2nCfTKBLZwEKFOJCtZPLZP88XZPkYBYA4Mu VH05H/WTD7edjRfonrvpwgcWRmwU6wvd8aYzPrmUHljCNeZqIvMSP4v92zWgeuf5NUKc hngvwfW5SmeW7NIWjKfc4oDrslF8IPXcR/hOt9XDggSPsuloS5t2OzcboiiZxE5R/3rQ 19b07ttGaUdh0d+uQDRQEWTst8BdWwW5V4PUchFMhXDevpUveLTvXsNDdzp7uxx0tGDl 7eYQ== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.79.135 with SMTP id j7mr2824879igx.14.1415886014746; Thu, 13 Nov 2014 05:40:14 -0800 (PST) |
| In-Reply-To | <roy-C2126E.08323413112014@news.panix.com> |
| References | <CAPTjJmr9BbFQzEYzWgW+2Y_cB-kSaXZZQ0nK4Mr=TJf7i0dZXQ@mail.gmail.com> <20141113084725.GA97979@cskk.homeip.net> <mailman.15769.1415869145.18130.python-list@python.org> <roy-C2126E.08323413112014@news.panix.com> |
| Date | Fri, 14 Nov 2014 00:40:14 +1100 |
| Subject | Re: How about some syntactic sugar for " __name__ == '__main__' "? |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <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 <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.15775.1415886018.18130.python-list@python.org> (permalink) |
| Lines | 10 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1415886018 news.xs4all.nl 2879 [2001:888:2000:d::a6]:46905 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:80685 |
Show key headers only | View raw
On Fri, Nov 14, 2014 at 12:33 AM, Roy Smith <roy@panix.com> wrote: > ... you also get to not worry > about what order things are defined. That's only as regards the interpreter, though. My point has nothing to do with the order the interpreter sees things, it's all about how they're laid out for humans to read. For that, I prefer to have definitions before use. ChrisA
Back to comp.lang.python | Previous | Next — Previous in thread | Find similar | Unroll thread
Re: How about some syntactic sugar for " __name__ == '__main__' "? Chris Angelico <rosuav@gmail.com> - 2014-11-13 19:58 +1100
Re: How about some syntactic sugar for " __name__ == '__main__' "? Roy Smith <roy@panix.com> - 2014-11-13 08:33 -0500
Re: How about some syntactic sugar for " __name__ == '__main__' "? Chris Angelico <rosuav@gmail.com> - 2014-11-14 00:40 +1100
csiph-web