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


Groups > comp.lang.python > #3050

Re: dict.setdefault()

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!feeder.news-service.com!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <anikom15@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.071
X-Spam-Evidence '*H*': 0.86; '*S*': 0.00; 'subject:()': 0.09; '>>>': 0.12; 'wrote:': 0.14; 'rantingrick': 0.16; 'subject:skip:d 10': 0.18; 'header:In-Reply-To:1': 0.22; 'mon,': 0.22; 'received:209.85.220': 0.26; 'to:addr:python-list': 0.32; 'from:charset:iso-8859-1': 0.33; 'received:192.168.1': 0.34; 'received:192': 0.34; '-0700,': 0.35; 'received:192.168': 0.37; 'received:209.85': 0.37; 'received:google.com': 0.38; 'to:addr:python.org': 0.39; 'received:209': 0.39; 'header:Mime- Version:1': 0.39; 'header:Received:5': 0.40; 'message- id:@localhost.localdomain': 0.74; '19:58': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:subject:from:to:in-reply-to:references :content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; bh=S3Sfczcpy6y1JpNhtwfgESVeQuSLlj1smZKkRfmcwXo=; b=DRGIlXfFaJ0NRgOWlw88cZVgEG68jF7zflRaq7L8rYV5ywpI1TGewyH1nzKCfPVuf3 rBgvpFn2PNsMEIt8mhXvQrgqjQ4R1CvyZ4i8AoQIZ/irsyCo1tvyQxeISh6q/7PvqIWA o3Jip1WqURjZyYVeZNw2/xBjuDsM5VTTss/r0=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:in-reply-to:references:content-type:date:message-id :mime-version:x-mailer:content-transfer-encoding; b=eeRIRMH5zbwP3ViUiRrM8odrMqm9hp5MjXJPPXP/w6FAOpubR88PVD7fucnaIKWSCt NVAMYDdxwvw+2vXioCD61bPv3ZjifCWuNC/SvLuTt/rbmLn3tyz1/fVUrFH7A9TesQqZ OFw4UZ+BMQOvHulVeJM/kdRYZYbzvUU74Qjd8=
Subject Re: dict.setdefault()
From Westley Martínez <anikom15@gmail.com>
To python-list@python.org
In-Reply-To <ee899e0f-5332-4677-af22-a17a0fd9f207@r6g2000vbo.googlegroups.com>
References <48897e75-c02c-43c7-9f46-39da4bcc406d@p16g2000vbi.googlegroups.com> <1302560207.11756.1.camel@localhost.localdomain> <mailman.225.1302561686.9059.python-list@python.org> <ee899e0f-5332-4677-af22-a17a0fd9f207@r6g2000vbo.googlegroups.com>
Content-Type text/plain; charset="UTF-8"
Date Tue, 12 Apr 2011 07:02:14 -0700
Mime-Version 1.0
X-Mailer Evolution 2.32.2
Content-Transfer-Encoding 7bit
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.259.1302616940.9059.python-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 82.94.164.166
X-Trace 1302616940 news.xs4all.nl 41102 [::ffff:82.94.164.166]:38895
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:3050

Show key headers only | View raw


On Mon, 2011-04-11 at 19:58 -0700, rantingrick wrote:
> <snip>
> 
> >>> dict.update(D, cobblerexistingkeys=False)

Fix'd
Much yummier now.

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


Thread

[Feature Request] dict.setdefault() rantingrick <rantingrick@gmail.com> - 2011-04-11 14:35 -0700
  Re: [Feature Request] dict.setdefault() Westley Martínez <anikom15@gmail.com> - 2011-04-11 15:16 -0700
  Re: [Feature Request] dict.setdefault() MRAB <python@mrabarnett.plus.com> - 2011-04-11 23:41 +0100
    Re: dict.setdefault() rantingrick <rantingrick@gmail.com> - 2011-04-11 19:58 -0700
      Re: dict.setdefault() Westley Martínez <anikom15@gmail.com> - 2011-04-12 07:02 -0700
  Re: [Feature Request] dict.setdefault() Chris Angelico <rosuav@gmail.com> - 2011-04-12 08:44 +1000
  Re: dict.setdefault() Raymond Hettinger <python@rcn.com> - 2011-04-11 15:49 -0700
  Re: [Feature Request] dict.setdefault() Chris Rebert <clp2@rebertia.com> - 2011-04-11 15:53 -0700
  Re: [Feature Request] dict.setdefault() MRAB <python@mrabarnett.plus.com> - 2011-04-11 23:59 +0100
  Re: [Feature Request] dict.setdefault() Tim Chase <python.list@tim.thechases.com> - 2011-04-11 18:25 -0500
    Re: dict.setdefault() Raymond Hettinger <python@rcn.com> - 2011-04-11 17:17 -0700

csiph-web