Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > RuntimeError: dictionary changed size during iteration

Reply
Thread Tools

RuntimeError: dictionary changed size during iteration

 
 
Roman Suzi
Guest
Posts: n/a
 
      01-19-2005

I think, the behaviour below is misfeature:

>>> [e for e in vars()]

Traceback (most recent call last):
File "<stdin>", line 1, in ?
RuntimeError: dictionary changed size during iteration
>>> e = None
>>> [e for e in vars()]

['e', '__builtins__', 'rlcompleter', '__file__', '_[1]', 'atexit', '__name__',
'readline', '__doc__']


Sincerely yours, Roman Suzi
--
http://www.velocityreviews.com/forums/(E-Mail Removed) =\= My AI powered by GNU/Linux RedHat 7.3
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dictionary size changed during iteration Laszlo Nagy Python 3 04-22-2011 06:22 AM
RuntimeError: dictionary changed size during iteration Robert Dailey Python 6 12-09-2008 06:25 PM
"RuntimeError: dictionary changed size during iteration" ; Good atomiccopy operations? robert Python 29 03-14-2006 06:22 AM
Re: "RuntimeError: dictionary changed size during iteration" ;Good atomic copy operations? Jean-Paul Calderone Python 0 03-13-2006 03:41 AM
Re: RuntimeError: dictionary changed size during iteration Terry Reedy Python 0 01-20-2005 06:40 PM



Advertisments