Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.85.MISMATCH!newsfeed.xs4all.nl!newsfeed6.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.020 X-Spam-Evidence: '*H*': 0.96; '*S*': 0.00; 'int': 0.05; '>>>>': 0.09; 'bool': 0.09; 'am,': 0.14; 'wrote:': 0.14; 'subject:() ': 0.16; 'subject:function': 0.16; 'awesome': 0.19; 'language': 0.20; 'header:In-Reply-To:1': 0.22; 'mon,': 0.22; 'received:209.85.214.174': 0.23; 'received:mail- iw0-f174.google.com': 0.23; 'subject:code': 0.23; 'chris': 0.27; 'message-id:@mail.gmail.com': 0.28; 'to:addr:python-list': 0.32; 'think': 0.36; 'received:209.85': 0.37; 'either': 0.37; 'apr': 0.38; 'received:google.com': 0.38; 'received:209.85.214': 0.39; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'header:Received:5': 0.40; 'allows': 0.40; '2011': 0.62; '11:46': 0.84; 'difference.': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=826COw15zG2vznPv0dTlxSXnO/ofdP4XI5L8Y60wW74=; b=Azl67uaTh7vl3DkxYwL2CX1jZ1nWrs9e1FmTUqmJAzYjdU+hwr2cDnFPZsezOrqsRE tYchJxRtfE3Pz55dyAc1PVG//M4llpGKXKJuFRUUzMN6o3xlo/se+PCcel2tba8vP5nI g1bkf7bVxSkjZjj+Y8YuV1dp6kjrpqQYZp1ZY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=oeyULIDjZ9j8PlWztk1XHV1KqJVK0EyJT2HtJo71F00WGx29YYh0B5tuTYjTZHXn3S PmW1oOCCII+R12CdQwG1DX3uq9pJUu0s14c40oNL+2++wWvROTyrw1QesgTtWRyp+lsk HWQZPF6oWWEBqqzYI7GSjYZ1KZqekPK41ZK60= MIME-Version: 1.0 In-Reply-To: <4DAB97FD.20103@ieee.org> References: <4da9fb0b$0$13696$426a74cc@news.free.fr> <87k4etho6e.fsf@benfinney.id.au> <4DAB97FD.20103@ieee.org> Date: Mon, 18 Apr 2011 11:52:56 +1000 Subject: Re: Re: Equivalent code to the bool() built-in function 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.12 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: 8 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1303091579 news.xs4all.nl 34849 [::ffff:82.94.164.166]:34858 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:3448 On Mon, Apr 18, 2011 at 11:46 AM, Dave Angel wrote: >>>> bool = int > Any language that allows you to do this is either awesome or terrifying. Come to think of it, there's not a lot of difference. Chris Angelico