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


Groups > comp.lang.python > #4917

Re: dictionary size changed during iteration

Path csiph.com!x330-a1.tempe.blueboxinc.net!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <gandalf@shopzeus.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status UNSURE 0.270
X-Spam-Level **
X-Spam-Evidence '*H*': 0.50; '*S*': 0.04; 'python': 0.07; '(it': 0.09; 'encounter': 0.16; 'large,': 0.19; 'header:In-Reply-To:1': 0.22; "i'm": 0.26; "i'll": 0.26; 'error': 0.29; "won't": 0.30; 'to:addr:python-list': 0.32; '...': 0.32; 'using': 0.34; 'received:192.168.1': 0.34; 'received:192': 0.34; 'post': 0.34; 'header:User-Agent:1': 0.35; '2.6': 0.35; 'list.': 0.35; 'received:192.168': 0.37; 'two': 0.37; 'but': 0.38; 'to:addr:python.org': 0.39; 'happened': 0.40; 'days.': 0.61; 'reply': 0.61; 'received:62': 0.67; 'works,': 0.69; 'thousand': 0.83; 'received:192.168.13': 0.84; 'received:62.179': 0.84; 'received:62.179.121': 0.84; 'received:upcmail.net': 0.84; 'subject:during': 0.84
X-SourceIP 86.101.31.185
Date Fri, 06 May 2011 18:21:07 +0200
From Laszlo Nagy <gandalf@shopzeus.com>
User-Agent Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10
MIME-Version 1.0
To python-list@python.org
Subject Re: dictionary size changed during iteration
References <4DAED72B.2030400@shopzeus.com> <mailman.644.1303306435.9059.python-list@python.org> <roy-FE896A.09154622042011@news.panix.com>
In-Reply-To <roy-FE896A.09154622042011@news.panix.com>
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Cloudmark-Analysis v=1.1 cv=Nww7yNiXF4C1XGF+VcigPkOcTpD8wJaI1KQuZlH5eEk= c=1 sm=0 a=rZAvqOacu5wA:10 a=e2611TdPuqcA:10 a=RSPf8KcgRHcA:10 a=8nJEP1OIZ-IA:10 a=3l5tOtGTQlUVQKNiuNYA:9 a=wPNLvfGTeEIA:10 a=bjo-WzhUWsOFrmx9:21 a=2kbTr8SqFC5JQCLO:21 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
X-Mailman-Approved-At Sat, 07 May 2011 22:20:40 +0200
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.1295.1304799641.9059.python-list@python.org> (permalink)
Lines 9
NNTP-Posting-Host 82.94.164.166
X-Trace 1304799641 news.xs4all.nl 41113 [::ffff:82.94.164.166]:40147
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:4917

Show key headers only | View raw


>> ...
> That works, but if d is large, it won't be very efficient because it has
> to generate a large list.
It is not large. But I'm using Python 2.6 , not Python 3.

I did not get this error again in the last two days. I'll post a new 
reply if I encounter it again. (It happened just a few times out of many 
thousand program invocations)

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


Thread

Re: dictionary size changed during iteration Peter Otten <__peter__@web.de> - 2011-04-20 15:33 +0200
  Re: dictionary size changed during iteration Roy Smith <roy@panix.com> - 2011-04-22 09:15 -0400
    Re: dictionary size changed during iteration Laszlo Nagy <gandalf@shopzeus.com> - 2011-05-06 18:21 +0200
    Re: dictionary size changed during iteration Paul Rubin <no.email@nospam.invalid> - 2011-05-07 14:07 -0700
      Re: dictionary size changed during iteration Roy Smith <roy@panix.com> - 2011-05-07 18:12 -0400
        Re: dictionary size changed during iteration Hans Mulder <hansmu@xs4all.nl> - 2011-05-08 21:32 +0200
          Re: dictionary size changed during iteration Paul Rubin <no.email@nospam.invalid> - 2011-05-08 12:42 -0700

csiph-web