Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60202
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.albasani.net!newsreader4.netcologne.de!news.netcologne.de!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed3.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.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'conventions': 0.07; 'javascript,': 0.07; '22,': 0.09; 'omit': 0.09; 'pep': 0.09; 'subject:setting': 0.09; 'python': 0.11; 'aided': 0.16; 'c/c++': 0.16; 'certainly.': 0.16; 'choice,': 0.16; 'confuse': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'in;': 0.16; 'optional': 0.16; 'programmer,': 0.16; 'subject:simple': 0.16; 'url:pep-0008': 0.16; 'url:peps': 0.16; ':-)': 0.16; 'wrote:': 0.18; 'code.': 0.18; 'help.': 0.21; 'seems': 0.21; 'programming': 0.22; 'python?': 0.22; "aren't": 0.24; 'compilation': 0.24; 'url:dev': 0.24; 'least': 0.26; 'asking': 0.27; 'certain': 0.27; 'header:In-Reply-To:1': 0.27; 'idea': 0.28; '[1]': 0.29; 'generally': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'code': 0.31; 'languages': 0.32; 'url:python': 0.33; 'fri,': 0.33; 'programmers': 0.33; "i'd": 0.34; 'no,': 0.35; 'but': 0.35; 'received:google.com': 0.35; 'in.': 0.36; "i'll": 0.36; 'url:org': 0.36; 'sometimes': 0.38; 'nov': 0.38; 'to:addr :python-list': 0.38; 'pm,': 0.38; 'rather': 0.38; 'to:addr:python.org': 0.39; 'course': 0.61; 'simple': 0.61; "you're": 0.61; 'making': 0.63; 'here': 0.66; 'actually,': 0.84; 'guidelines.': 0.84; 'laid': 0.84; 'omission': 0.84; 'semi': 0.84; 'technically': 0.84; 'wrong...': 0.84; 'careful': 0.91; '2013': 0.98 |
| 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 :content-type; bh=cKeYVpc/4VzUyebmY7n0EVBX8jl7FoIlFmav4j3Md/I=; b=hTHRvIVZ7r1FGiOnBmPtvZlRX3Do8yKDFTMdw7OsKMCT67An5kDjrbXtHFJ8AHrLiF 19/uw6CwcoReWHye8a/c2J4bA8iZWq9JEPHI5Q2TqDS3xSolbUy6n4htuf0aseDWH4pm If53IsBSqmu77VmT89Olz0W3/dTGrHzlqisEN8ZSDlSx/GAs2xJDUOosJF9zEFZyjptt BGEBypH3XPGjRf7vaJ3My4rEpY1rZFznPvhL3syN667QN6rMqv44WwL2sPUSvjIahtHn Qv4EAngUhvb9ptilJ93BEHZ/+UdG9DGMtjDRixTN3O/rX6zh7tKa0J1SKANN9gDov13R Lgew== |
| MIME-Version | 1.0 |
| X-Received | by 10.66.219.233 with SMTP id pr9mr10103417pac.45.1385094614779; Thu, 21 Nov 2013 20:30:14 -0800 (PST) |
| In-Reply-To | <bf839pFtt6qU1@mid.individual.net> |
| References | <9e773107-5a6c-486b-bef2-186101d8f141@googlegroups.com> <roy-F7D4A2.21331321112013@news.panix.com> <ac9aae1d-b86c-4ea0-b41f-a044e053a932@googlegroups.com> <bf839pFtt6qU1@mid.individual.net> |
| Date | Fri, 22 Nov 2013 15:30:14 +1100 |
| Subject | Re: Having trouble setting up an extremely simple server... |
| From | Chris Angelico <rosuav@gmail.com> |
| To | python-list@python.org |
| Content-Type | text/plain; charset=ISO-8859-1 |
| 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.3027.1385094624.18130.python-list@python.org> (permalink) |
| Lines | 33 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1385094625 news.xs4all.nl 15974 [2001:888:2000:d::a6]:46603 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:60202 |
Show key headers only | View raw
On Fri, Nov 22, 2013 at 3:02 PM, Gregory Ewing <greg.ewing@canterbury.ac.nz> wrote: > Cilantro MC wrote: >> >> I prefer using the semicolons... They aren't making my code wrong... I use >> other programming languages from time to time, and I'd rather just always >> use >> semicolons, as with the parentheses. > > > It's your choice, but just be aware that other Python > programmers reading your code will find it annoying, > and it's not generally a good idea to annoy people > that you're asking for help. :-) Or, worse, to confuse us as to the purpose of your code. People here are used to spotting bugs, and that bug-spotting is hugely aided by certain conventions - many of which are laid out in PEP 8 [1], though of course you don't need to follow all of those guidelines. I'm a polyglot programmer, myself, so I completely understand your desire to put semicolons around the place. Actually, my work in C/C++ and Pike, where semicolons are mandatory, isn't why I want to put them in; no, it's because of JavaScript, where they're technically optional but the omission can sometimes lead to misparsing of code - THAT is where I'll be careful to put them in. Omit a semi in C? Simple compilation error, almost certainly. Omit one in JS? Works perfectly... or at least seems to. Omit them all in Python? Actually genuinely works perfectly. :) ChrisA [1] http://www.python.org/dev/peps/pep-0008/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Having trouble setting up an extremely simple server... cilantromc@gmail.com - 2013-11-21 17:56 -0800
Re: Having trouble setting up an extremely simple server... Roy Smith <roy@panix.com> - 2013-11-21 21:33 -0500
Re: Having trouble setting up an extremely simple server... Cilantro MC <cilantromc@gmail.com> - 2013-11-21 18:36 -0800
Re: Having trouble setting up an extremely simple server... Roy Smith <roy@panix.com> - 2013-11-21 21:50 -0500
Re: Having trouble setting up an extremely simple server... Ned Batchelder <ned@nedbatchelder.com> - 2013-11-21 18:58 -0800
Re: Having trouble setting up an extremely simple server... Gregory Ewing <greg.ewing@canterbury.ac.nz> - 2013-11-22 17:02 +1300
Re: Having trouble setting up an extremely simple server... Chris Angelico <rosuav@gmail.com> - 2013-11-22 15:30 +1100
Re: Having trouble setting up an extremely simple server... Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-11-22 05:32 +0000
Re: Having trouble setting up an extremely simple server... rusi <rustompmody@gmail.com> - 2013-11-21 21:45 -0800
Re: Having trouble setting up an extremely simple server... Roy Smith <roy@panix.com> - 2013-11-22 08:41 -0500
Re: Having trouble setting up an extremely simple server... Chris Angelico <rosuav@gmail.com> - 2013-11-23 01:16 +1100
csiph-web