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


Groups > comp.lang.python > #8703

Re: Inexplicable behavior in simple example of a set in a class

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!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.007
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'nasty': 0.07; 'am,': 0.13; 'wrote:': 0.15; '[])': 0.16; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'subject:behavior': 0.16; 'subject:example': 0.16; 'subject:set': 0.16; 'there...': 0.16; 'typo': 0.16; '>>>': 0.16; 'received:74.125.82.174': 0.19; 'received:mail-wy0-f174.google.com': 0.19; 'header:In-Reply-To:1': 0.22; 'trying': 0.23; 'message-id:@mail.gmail.com': 0.28; 'sun,': 0.30; 'thanks': 0.31; 'chris': 0.32; 'too': 0.32; 'to:addr:python- list': 0.34; 'that,': 0.35; 'received:google.com': 0.38; 'subject:: ': 0.38; 'received:74.125.82': 0.39; 'to:addr:python.org': 0.39; 'received:74.125': 0.40; 'your': 0.60; 'subject:class': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=lgWfYhhPyRQY+HC8n3olFR2Ik3JjWfvCSpLEwcnU5sY=; b=cg1ZlfCJHW4X/2aBbZfxAmnFoFdmlNe+QOl9QTM/CfNlxREFasbcPIp5+Nk09bnnYz bk5IR+2x2+w60rxkIy+F2zn5XRGOQUNP+dQATDZuKkvILYUbU8pp2fYwNZBO+59PlNcN CkZlVOXuTrt+TPwHeTA0QKd+I2n1NTh316TNk=
MIME-Version 1.0
In-Reply-To <CAMZYqRRFGEE8hCKZLwxZ3tWZ0O2BRnNPj9bQfF75xk=2U4hQVg@mail.gmail.com>
References <2dc52e22-5c0f-4e24-8197-df616db1a42c@u2g2000yqb.googlegroups.com> <mailman.566.1309644846.1164.python-list@python.org> <6441039f-f226-4632-8e74-2b6415bf914e@n28g2000vbs.googlegroups.com> <CAPTjJmofz7eRxmLyUwhKtz+w8-R-Kq7pwNvFXec7=DOSLc+5BA@mail.gmail.com> <CAMZYqRRFGEE8hCKZLwxZ3tWZ0O2BRnNPj9bQfF75xk=2U4hQVg@mail.gmail.com>
Date Sun, 3 Jul 2011 11:14:01 +1000
Subject Re: Inexplicable behavior in simple example of a set in a class
From Chris Angelico <rosuav@gmail.com>
To python-list@python.org
Content-Type text/plain; charset=ISO-8859-1
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.575.1309655643.1164.python-list@python.org> (permalink)
Lines 14
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1309655643 news.xs4all.nl 21837 [2001:888:2000:d::a6]:44113
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:8703

Show key headers only | View raw


On Sun, Jul 3, 2011 at 11:07 AM, Chris Rebert <clp2@rebertia.com> wrote:
>>>>> c,d
>> ({}, [])
>
> Nasty typo in your pseudo-interpreter-session there...

Whoops! This is what I get for trying to be too smart!

>>> c,d
([], [])

Thanks for catching that, Chris. :)

(another) Chris

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


Thread

Inexplicable behavior in simple example of a set in a class Saqib Ali <saqib.ali.75@gmail.com> - 2011-07-02 14:59 -0700
  Re: Inexplicable behavior in simple example of a set in a class Chris Rebert <clp2@rebertia.com> - 2011-07-02 15:14 -0700
    Re: Inexplicable behavior in simple example of a set in a class Saqib Ali <saqib.ali.75@gmail.com> - 2011-07-02 15:23 -0700
      Re: Inexplicable behavior in simple example of a set in a class Chris Rebert <clp2@rebertia.com> - 2011-07-02 16:25 -0700
      Re: Inexplicable behavior in simple example of a set in a class Chris Angelico <rosuav@gmail.com> - 2011-07-03 10:46 +1000
      Re: Inexplicable behavior in simple example of a set in a class Chris Rebert <clp2@rebertia.com> - 2011-07-02 18:07 -0700
      Re: Inexplicable behavior in simple example of a set in a class Chris Angelico <rosuav@gmail.com> - 2011-07-03 11:14 +1000
  Re: Inexplicable behavior in simple example of a set in a class Peter Otten <__peter__@web.de> - 2011-07-03 00:22 +0200
  Re: Inexplicable behavior in simple example of a set in a class Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-07-03 12:25 +1000

csiph-web