Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.181 X-Spam-Level: * X-Spam-Evidence: '*H*': 0.66; '*S*': 0.02; 'distinct': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'nick': 0.16; 'sense...': 0.16; 'year)': 0.16; 'wrote:': 0.18; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; '>>>>': 0.31; 'fri,': 0.33; 'maybe': 0.34; "can't": 0.35; 'something': 0.35; 'but': 0.35; 'received:google.com': 0.35; '14,': 0.36; 'vice': 0.36; 'to:addr:python-list': 0.38; 'pm,': 0.38; 'to:addr:python.org': 0.39; 'either': 0.39; "you're": 0.61; 'here': 0.66; 'between': 0.67; 'obvious': 0.74; 'seriously,': 0.84; 'subject:gets': 0.84; '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=ob55k6ooIjaL232YpHVYA1cZrU8tNRGKbFz03MWQeBI=; b=h85seW6fsZ2ViAwWX5jM0C60JW270FzOzR37aw9S5IIpuyoZGHqbFQojw9v49wIYb5 XEnb3wMaSqj5sKiciiabl1p6jSk7tYasAJeEX7/jkEeEAMmMG4d6JJi8fwEbsnHWPffH aBBYQqbXIO57ugJPmGnTLi1U+ludPjgfv2bIvHSmPqkTaoJf03l+ZK/5QaDxw4NaBDYH TjHmAwTT4qdyV3Cap07qGCW2aUs59ncFFJsM/R/w/ICa/Xt+BypujFyiJ9O0VrZtv7SB JSZtVdF1ifbnmrNfHcPkhtRMBIXSO+MqHH97hwov1qvCs8IBfmpiiuSJEYXrUKHlMfvP xPaw== MIME-Version: 1.0 X-Received: by 10.52.155.67 with SMTP id vu3mr446657vdb.94.1371198224687; Fri, 14 Jun 2013 01:23:44 -0700 (PDT) In-Reply-To: References: <2bc90d3b-09c2-4315-9357-ff7f039465e0@googlegroups.com> <51b926a3$0$29997$c3e8da3$5496439d@news.astraweb.com> <51ba6e92$0$29997$c3e8da3$5496439d@news.astraweb.com> Date: Fri, 14 Jun 2013 18:23:44 +1000 Subject: Re: A certainl part of an if() structure never gets executed. From: Chris Angelico 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 12 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371198232 news.xs4all.nl 15944 [2001:888:2000:d::a6]:56410 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48083 On Fri, Jun 14, 2013 at 6:03 PM, Nick the Gr33k wrote: >>>> print(name or month or year) >>>> print("k" in (name and month and year)) Seriously, you can't see the difference between those lines? Either you're trolling - which is still a distinct possibility, but so is the converse - or there's something between here and the northern hemisphere that makes the obvious unobvious and vice versa. Or maybe I'm actually living in Alice's Wonderland and nothing here makes sense... ChrisA