Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eweka.nl!lightspeed.eweka.nl!194.109.133.86.MISMATCH!newsfeed.xs4all.nl!newsfeed3.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.093 X-Spam-Evidence: '*H*': 0.85; '*S*': 0.04; 'algorithm': 0.04; 'received:134': 0.05; 'subject:design': 0.09; 'python': 0.11; 'subject:Language': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'gets': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'code': 0.31; 'that.': 0.31; "d'aprano": 0.31; 'sep': 0.31; 'steven': 0.31; 'but': 0.35; 'there': 0.35; 'whatever': 0.38; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'bad': 0.39; 'to:addr:python.org': 0.39; 'lost': 0.61; 'restore': 0.78; 'mistakes,': 0.84; 'pardon': 0.84; 'thing,': 0.91; '2013': 0.98 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap4EAMK3MlKGuA9G/2dsb2JhbABbxQCBMIMZAQEFeBELGAkWDwkDAgECAUUTBgICh3+xUIhdj3MWhAgDl3qGHItXgyU Date: Fri, 13 Sep 2013 09:04:06 +0200 From: Antoon Pardon User-Agent: Mozilla/5.0 (X11; Linux i686; rv:10.0.12) Gecko/20130116 Icedove/10.0.12 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Language design References: <522eb795$0$29999$c3e8da3$5496439d@news.astraweb.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: 15 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1379055854 news.xs4all.nl 15950 [2001:888:2000:d::a6]:56925 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:54105 Op 10-09-13 12:20, Chris Angelico schreef: > On Tue, Sep 10, 2013 at 4:09 PM, Steven D'Aprano wrote: >> What design mistakes, traps or gotchas do you think Python has? Gotchas >> are not necessarily a bad thing, there may be good reasons for it, but >> they're surprising. > > Significant indentation. It gets someone every day, it seems. > Not only that. There are a lot of python code snippets on the net that for whatever reason lost their indentation. There is no algorithm that can restore the lost structure. -- Antoon Pardon