RuntimeError: dictionary changed size during iteration
Roman Suzi
rnd at onego.ru
Wed Jan 19 15:45:15 EST 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
--
rnd at onego.ru =\= My AI powered by GNU/Linux RedHat 7.3
More information about the Python-list
mailing list