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


Groups > comp.lang.python > #111100

Re: Making Classes Subclassable

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Michael Selik <michael.selik@gmail.com>
Newsgroups comp.lang.python
Subject Re: Making Classes Subclassable
Date Tue, 05 Jul 2016 05:26:29 +0000
Lines 14
Message-ID <mailman.87.1467696408.2295.python-list@python.org> (permalink)
References <ca1ee22e-9769-4e76-81f3-b9d0dcb55212@googlegroups.com> <87eg79q1i0.fsf@handshake.de> <mailman.59.1467619073.2295.python-list@python.org> <337f8071-ef4a-4ac5-867b-a5320c684730@googlegroups.com> <CAGgTfkM6cVxNSXjQ1iViTkAcptxgp8uVV3v_wtPGxOHmW4Kk-Q@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
Content-Transfer-Encoding quoted-printable
X-Trace news.uni-berlin.de mjeoFXUzRU4HnzF5vCy8Lg9kmmcV763s8nDY4Xu/R6wQ==
Return-Path <michael.selik@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.015
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'classes.': 0.07; '(there': 0.16; '2016': 0.16; 'old-style': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'subject:Classes': 0.16; 'wrote:': 0.16; '&gt;': 0.18; 'email addr:gmail.com&gt;': 0.18; 'to:2**1': 0.21; 'lawrence': 0.22; 'header:In-Reply-To:1': 0.24; 'mon,': 0.24; 'message-id:@mail.gmail.com': 0.27; 'skip:& 20': 0.35; 'received:google.com': 0.35; 'monday,': 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'skip:& 10': 0.37; 'to:addr:python.org': 0.40; 'jul': 0.72; 'subject:Making': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Ia0xqjS23rhTv4hB5nREiQStN/uoJsExmrBYCkgGMhY=; b=BYMwumKCIMR0dYxMhSDgA1qnd9696+LEwYgj7VgLsZY/vXXVtsil2Wo8CtbMYEVQUN sfageoBp2fsrkh9AFdiHrIhWRXCprAyl11akNbbcGm8hvZ7jgN8oZu5pV75b1vNIJGUx 8n/mkoGW/DD0GU5R8VQqIlkWnSClQ0lFffCjHHy/pfjSz5GwS07JRcJgIAKuoIGUhVnS dqbAQa2k9C7yfhNt39pmnadMfPkhlAVgW+vNoVeFM+6KhfO8tdtmV0gIny3rqnWbA9lV 8mWv1Nhyndu76n5sUK8kSbJNIr5kP1u/FSDdWatqBnIw+XtG1ESO0ZQRszHPNgVq7DSk WjQA==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=Ia0xqjS23rhTv4hB5nREiQStN/uoJsExmrBYCkgGMhY=; b=D66PvgcIleJeip/H8+9yLc4Y4slV22XmMdINrlurcSDpr+KhxVwBxGT6Kq8PrfSLOP uUeVn0mDPOtv30Qi7aP/QDQkhzIq9lOs+zv4jwr53VmJ51uUJ15HcQVZKS5rDmPwjE5T ew8FskhntODE7s8HdAnDc/bnU5qhv7upyhRBvxRVUJEWDpxq0lBAxeVoaVKZ0OkxfH0S P0XRgTvmDJpYX5Qi8f1MgfPFfwaioAlrQcc5f4ykSlwIpVVimqbXGdRJjBgvD/8neKKr 8UbzK18ahIZe97gOFIM1w01EcgQXjGF1Fbqx3Gm1gQdRMUT/bQwsxi/OlpjZEzuKGwmV mK+w==
X-Gm-Message-State ALyK8tI4d6wO14jGYlrGg14lu79SzTkZo4GcvAsxyEMq0vcSgRJmO21koYN5irlJn61JA6jEEDmTBOqaxg9Jrw==
X-Received by 10.237.49.101 with SMTP id 92mr24280271qtg.56.1467696399190; Mon, 04 Jul 2016 22:26:39 -0700 (PDT)
In-Reply-To <337f8071-ef4a-4ac5-867b-a5320c684730@googlegroups.com>
X-Content-Filtered-By Mailman/MimeDel 2.1.22
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
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>
X-Mailman-Original-Message-ID <CAGgTfkM6cVxNSXjQ1iViTkAcptxgp8uVV3v_wtPGxOHmW4Kk-Q@mail.gmail.com>
X-Mailman-Original-References <ca1ee22e-9769-4e76-81f3-b9d0dcb55212@googlegroups.com> <87eg79q1i0.fsf@handshake.de> <mailman.59.1467619073.2295.python-list@python.org> <337f8071-ef4a-4ac5-867b-a5320c684730@googlegroups.com>
Xref csiph.com comp.lang.python:111100

Show key headers only | View raw


On Mon, Jul 4, 2016, 4:36 AM Lawrence D’Oliveiro <lawrencedo99@gmail.com>
wrote:

> On Monday, July 4, 2016 at 7:58:07 PM UTC+12, dieter wrote:
> > --> "type(obj)" or "obj.__class__" (there are small differences)
> > give you the type/class of "obj".
>
> When would it not be the same?
>

Old-style classes.

>

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


Thread

Making Classes Subclassable Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-02 21:31 -0700
  Re: Making Classes Subclassable dieter <dieter@handshake.de> - 2016-07-04 09:57 +0200
    Re: Making Classes Subclassable Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-04 01:34 -0700
      Re: Making Classes Subclassable Michael Selik <michael.selik@gmail.com> - 2016-07-05 05:26 +0000
        Re: Making Classes Subclassable Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-05 00:08 -0700
      Re: Making Classes Subclassable dieter <dieter@handshake.de> - 2016-07-05 09:55 +0200
      Re: Making Classes Subclassable Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2016-07-05 18:31 +1000
        Re: Making Classes Subclassable Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-05 08:41 -0600
          Re: Making Classes Subclassable Steven D'Aprano <steve@pearwood.info> - 2016-07-06 01:33 +1000
      Re: Making Classes Subclassable Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-05 09:02 -0600
        Re: Making Classes Subclassable Steven D'Aprano <steve@pearwood.info> - 2016-07-06 01:41 +1000
        Re: Making Classes Subclassable Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-05 19:31 -0700
    Re: Making Classes Subclassable Lawrence D’Oliveiro <lawrencedo99@gmail.com> - 2016-07-05 20:04 -0700
  Re: Making Classes Subclassable Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-05 08:52 -0600

csiph-web