Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!news.tele.dk!news.tele.dk!small.news.tele.dk!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.060 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.01; 'cc:addr:python-list': 0.11; 'jan': 0.12; 'bool': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'tuple,': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'cc:addr:python.org': 0.22; '(or': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "d'aprano": 0.31; 'steven': 0.31; 'received:google.com': 0.35; 'list,': 0.38; 'pm,': 0.38; '2015': 0.84; 'dict,': 0.84; 'swimming': 0.84; 'to:none': 0.92 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:cc :content-type; bh=22qBLXvfDtJ0rnHinKVv9cwutM6kPA12qYjmHW89Rz8=; b=L9vsAyA3P7853i886WwH3ofUfUhk8T5/v5fkd20vRPovSnOcoLKK0EcHZqjk1gzNF1 mzF0UTe5O2Lc76lI/PWB51KS6EmUmM4iOtmYVnKy1rnr+b13LE8LFsX1k7Y47Xn2Kwq2 pjkmCwk+Hn0sgvUyEMl6nT/KH0xR5xpkQakqjmODPHYN5b//a6gRF1CaazjpfGgspfW2 VCh05vbvKuZXdfXaAYv0ELxlfw0Tkg5HlFROIXdYXYDacB4daKPTagfetM5J6/ebv73u BPcWkPNWqtfgmM61xQP1D1SxzXhpS8GOS95wjaW0Ll0NDM88zBYUsv4CCCEuy+lZrTVS 9dGA== MIME-Version: 1.0 X-Received: by 10.42.52.200 with SMTP id k8mr2000500icg.26.1420618888254; Wed, 07 Jan 2015 00:21:28 -0800 (PST) In-Reply-To: <54ace9f0$0$2738$c3e8da3$76491128@news.astraweb.com> References: <54ABB88A.7070504@r3dsolutions.com> <54ABC52A.1050507@davea.name> <54ABE383.3020801@r3dsolutions.com> <54ABEAD9.8070000@davea.name> <54ace9f0$0$2738$c3e8da3$76491128@news.astraweb.com> Date: Wed, 7 Jan 2015 19:21:28 +1100 Subject: Re: Comparisons and sorting of a numeric class.... From: Chris Angelico Cc: "python-list@python.org" Content-Type: text/plain; charset=UTF-8 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: 7 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1420618891 news.xs4all.nl 2937 [2001:888:2000:d::a6]:43626 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:83284 On Wed, Jan 7, 2015 at 7:10 PM, Steven D'Aprano wrote: > ou can make an object which quacks like a bool > (or list, tuple, dict, bool, str...), swims like a bool... Huh. You mean like an Olympic swimming bool? ChrisA