Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed4.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.004 X-Spam-Evidence: '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'guido': 0.05; 'classes.': 0.09; 'python': 0.11; 'lisp,': 0.16; 'literals.': 0.16; 'loop.': 0.16; 'perl.': 0.16; 'received:72.5': 0.16; 'received:72.5.230': 0.16; 'received:sender1.zohomail.com': 0.16; 'received:zohomail.com': 0.16; 'roy': 0.16; 'language': 0.16; 'wrote:': 0.18; 'header:User-Agent:1': 0.23; 'header:In- Reply-To:1': 0.27; 'function': 0.29; "we'd": 0.29; 'created': 0.35; 'something': 0.35; 'but': 0.35; 'being': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'break': 0.61; 'today.': 0.61; 'from:charset:utf-8': 0.61; 'back': 0.62; 'smith': 0.68; 'article': 0.77 Date: Sun, 05 Jan 2014 22:54:37 +0200 From: =?UTF-8?B?R8O2a3R1xJ8gS2F5YWFscA==?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Postfix conditionals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-Zoho-Virus-Status: 2 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: 19 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1388955283 news.xs4all.nl 2916 [2001:888:2000:d::a6]:45794 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:63222 On 05-01-2014 22:41, Roy Smith wrote: > In article , > Göktu€ Kayaalp wrote: > >> py> for i in [False]: >> ... break if not i > Python is not Perl. Well done! Good for you, that you know the fact; but you are not being constructive. Python is not C either, but we have the while loop. Python is not Smalltalk, but we have classes. Python is not LISP, but we have function literals. Hopefully Guido did not have your approach back when he created Python, or we'd have an assembly language or something instead today.