Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #95680

Re: isinstance() and multiple inheritance/ctypes

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 <rosuav@gmail.com>
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 <CAPTjJmrrFT3aE3vF8nZiw0uxWGCw18YyEFXvOPCtdQDRxiOY7Q@mail.gmail.com>
References <mrlalj$nlt$1@dont-email.me> <CAPTjJmrrFT3aE3vF8nZiw0uxWGCw18YyEFXvOPCtdQDRxiOY7Q@mail.gmail.com>
Date Thu, 27 Aug 2015 09:14:03 +1000
Subject Re: isinstance() and multiple inheritance/ctypes
From Chris Angelico <rosuav@gmail.com>
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.68.1440630846.11709.python-list@python.org> (permalink)
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

Show key headers only | View raw


On Thu, Aug 27, 2015 at 9:12 AM, Chris Angelico <rosuav@gmail.com> 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

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

isinstance() and multiple inheritance/ctypes Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-08-26 21:21 +0000
  Re: isinstance() and multiple inheritance/ctypes Terry Reedy <tjreedy@udel.edu> - 2015-08-26 17:46 -0400
  Re: isinstance() and multiple inheritance/ctypes Chris Angelico <rosuav@gmail.com> - 2015-08-27 09:12 +1000
    Re: isinstance() and multiple inheritance/ctypes Rob Gaddi <rgaddi@technologyhighland.invalid> - 2015-08-26 23:42 +0000
  Re: isinstance() and multiple inheritance/ctypes Chris Angelico <rosuav@gmail.com> - 2015-08-27 09:14 +1000
    Re: isinstance() and multiple inheritance/ctypes Steven D'Aprano <steve@pearwood.info> - 2015-08-27 22:59 +1000
      Re: isinstance() and multiple inheritance/ctypes Chris Angelico <rosuav@gmail.com> - 2015-08-28 00:33 +1000
        Re: isinstance() and multiple inheritance/ctypes Steven D'Aprano <steve@pearwood.info> - 2015-08-28 13:02 +1000
          Re: isinstance() and multiple inheritance/ctypes Chris Angelico <rosuav@gmail.com> - 2015-08-28 13:25 +1000

csiph-web