[issue30441] os.environ raises RuntimeError: dictionary changed size during iteration

Antoine Pitrou report at bugs.python.org
Thu May 25 06:33:17 EDT 2017


Antoine Pitrou added the comment:

> While there are no special code for list(dict), regular iteration over exact dict don't hit the GC.

Doesn't it? Creating a dict iterator creates a GC-tracked object.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30441>
_______________________________________


More information about the Python-bugs-list mailing list