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


Groups > comp.lang.python > #3707

Re: dictionary size changed during iteration

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail
From Mel <mwilson@the-wire.com>
Newsgroups comp.lang.python
Subject Re: dictionary size changed during iteration
Followup-To comp.lang.python
Date Wed, 20 Apr 2011 10:22:23 -0400
Organization Aioe.org NNTP Server
Lines 13
Message-ID <iomq6t$5mo$2@speranza.aioe.org> (permalink)
References <mailman.640.1303304240.9059.python-list@python.org> <iomq0q$5mo$1@speranza.aioe.org>
Reply-To mwilson@the-wire.com
NNTP-Posting-Host dABE/dRgL5GIkzqwrI5tGA.user.speranza.aioe.org
Mime-Version 1.0
Content-Type text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding 7Bit
X-Complaints-To abuse@aioe.org
User-Agent KNode/4.4.8
X-Notice Filtered by postfilter v. 0.8.2
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:3707

Followups directed to: comp.lang.python

Show key headers only | View raw


Mel wrote:
> Laszlo Nagy wrote:
> `ukeys` isn't a different dictionary from `self.updates.keys`  I'ts merely
> another name referring to the same dict object.  I think
> 
> ukeys = dict (self.updates.keys)
> 
> would do what you want.

Sorry.  Belay that.  Thought I'd had enough coffee.

	Mel.

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


Thread

dictionary size changed during iteration Laszlo Nagy <gandalf@shopzeus.com> - 2011-04-20 14:52 +0200
  Re: dictionary size changed during iteration Mel <mwilson@the-wire.com> - 2011-04-20 10:18 -0400
    Re: dictionary size changed during iteration Mel <mwilson@the-wire.com> - 2011-04-20 10:22 -0400
  Re: dictionary size changed during iteration John Nagle <nagle@animats.com> - 2011-04-21 23:22 -0700

csiph-web