Path: csiph.com!news.swapon.de!newsfeed.fsmpi.rwth-aachen.de!newsfeed.straub-nv.de!newsfeed0.kamp.net!newsfeed.kamp.net!feeder1.cambriumusenet.nl!feed.tweak.nl!194.109.133.81.MISMATCH!newsfeed.xs4all.nl!newsfeed7.news.xs4all.nl!nzpost1.xs4all.net!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'cc:addr:python-list': 0.09; 'keyed': 0.09; 'subject:ctypes': 0.09; 'thu,': 0.15; 'argh,': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'magic': 0.16; 'wrote:': 0.16; '2015': 0.20; 'cc:2**0': 0.20; 'cc:addr:python.org': 0.20; 'aug': 0.20; 'meant': 0.22; 'am,': 0.23; 'somewhere': 0.24; 'header:In-Reply-To:1': 0.24; 'chris': 0.26; 'message-id:@mail.gmail.com': 0.27; "i'm": 0.30; 'subject:/': 0.30; 'post': 0.31; 'skip:_ 10': 0.32; 'received:google.com': 0.35; 'there': 0.36; 'subject:: ': 0.37; 'method': 0.37; 'wrong': 0.38; 'chrisa': 0.84; 'of?': 0.84; 'to:none': 0.91 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=M6nLwJGmn0v6JNTvzZY2QavgWWVB5g7PT8IrxVWNFhg=; b=oMiDQQRVK811H1o4TKWfT4tx+9iQc6eqzUMosL+qqfkb/JzgeIRtfSRtgv0Qb6mYcZ Yj0WijsQZ/QWqELxj3stBhr5MN93ml5A9WO1WcQMwI/aBklRN0fsWLiHkwX0Wf/VK/wy JkOOK7SFZ30DBB5dGRGZlLCOC42d3Ftu4FuwX5zuCgprHGpGrYumklmpkzj4zK8c8xcb XbKVovBPZA+p6S8pWbZ+GUrD67KEomFx6A2VSapfIgdtKYDgWHmJK2qxCusX4mGcA5+z roglHcHTv56cYEFMdGAnKuQL7K/63qaKTa4l6H4NuqwoIXWAHvywgf++4wmJlJ0F1Cec wk6A== MIME-Version: 1.0 X-Received: by 10.50.114.100 with SMTP id jf4mr7691718igb.94.1440630843658; Wed, 26 Aug 2015 16:14:03 -0700 (PDT) In-Reply-To: References: Date: Thu, 27 Aug 2015 09:14:03 +1000 Subject: Re: isinstance() and multiple inheritance/ctypes 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.20+ 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: 2001:888:2000:d::a6 X-Trace: 1440630846 news.xs4all.nl 23796 [2001:888:2000:d::a6]:49890 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:95680 On Thu, Aug 27, 2015 at 9:12 AM, Chris Angelico wrote: > Or is there a magic __isinstance__ Argh, keyed the wrong thing and sent the post prematurely. Meant to say: Or is there a magic __instancecheck__ method somewhere that I'm not aware of? ChrisA