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


Groups > comp.lang.python > #90315

Re: anomaly

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed4a.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <dreamingforward@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.040
X-Spam-Evidence '*H*': 0.92; '*S*': 0.00; 'sfxlen:2': 0.11; 'thread': 0.14; '>>>': 0.22; 'example': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'cc:no real name:2**0': 0.24; 'pass': 0.26; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; 'class': 0.32; 'received:google.com': 0.35; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39
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:to :cc:content-type; bh=bfSNeYjYgJZ5y7dmqjxgdg850SXNiBrp85pbKI8ZNpI=; b=v7klfNV83N0QXK6RupmmY7j1pUl6Lv/mcI/JwMhsr0CQJ+qx2aR5rAIIMKA8elrF6n ZpkCH9krxRsVhHyLQ/MeYatyCyh6GIz6SYpewrEVeUiX2WE7nQGHHnI6OsXcvowo0wU0 ALLKz/bSf3yr6l/e2uI7io6URlmkPddyG5htiZkCKVXjXo/2Ffx+WI8JYbZhrfdUuD0C bAO211t4IvnCyFdcrf55aXNRImp7PTVHbh9+0yltqE/TngrG4BBR7RWfHJdb6Uh5KPsS eXcNoW0WSlVpBBg6N0YS3Eaubcyl3Lbmiqw2yekYKqS6x9HojWhk5WDUASC9nO13G8JD ffcQ==
MIME-Version 1.0
X-Received by 10.152.116.102 with SMTP id jv6mr6066174lab.50.1431303258923; Sun, 10 May 2015 17:14:18 -0700 (PDT)
In-Reply-To <CAMjeLr9v3vVHmyThb=uTNTG6XJcWmebZE35=cmFognfsKj6-Sg@mail.gmail.com>
References <CAMjeLr--RfnfgWc1hdOcHiEBpq3QwC7SZk-m14wM65JtpbgMLQ@mail.gmail.com> <CAMjeLr-_jd2wAJJTZRO3+p58hzD+B3UiDyrkhz-Vw-=Lopmrmg@mail.gmail.com> <CAMjeLr9v3vVHmyThb=uTNTG6XJcWmebZE35=cmFognfsKj6-Sg@mail.gmail.com>
Date Sun, 10 May 2015 19:14:18 -0500
Subject Re: anomaly
From Mark Rosenblitt-Janssen <dreamingforward@gmail.com>
To python-list@python.org
Cc python-dev@python.org
Content-Type text/plain; charset=ISO-8859-1
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.329.1431303268.12865.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1431303268 news.xs4all.nl 2880 [2001:888:2000:d::a6]:45710
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:90315

Show key headers only | View raw


In case the example given at the start of the thread wasn't
interesting enough, it also works in the other direction:

>>> class str(int):  pass

>>> str('2')
2  #<----- an integer!!!

Mark

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


Thread

Re: anomaly Mark Rosenblitt-Janssen <dreamingforward@gmail.com> - 2015-05-10 19:14 -0500
  Re: anomaly Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-11 16:21 +1000

csiph-web