RuntimeError: dictionary changed size during iteration

Roman Suzi rnd at
Thu Jan 20 13:41:57 EST 2005

On Thu, 20 Jan 2005, Batista, Facundo wrote:

>For me, the point is: vars() returns the local variables as a list or is a
>In the docs don't say nothing about this.
>If it returns a list, it should NOT raise an error; if it's a generator, the
>error is fine.

>.    Facundo

Probably, e need not appear in vars() at all... This is why
generator closure works fine.

Sincerely yours, Roman Suzi
rnd at =\= My AI powered by GNU/Linux RedHat 7.3

More information about the Python-list mailing list