[Python-Dev] Issue 10094

Senthil Kumaran orsenthil at gmail.com
Thu Oct 14 19:37:01 CEST 2010

On Thu, Oct 14, 2010 at 10:29:12AM -0700, Guido van Rossum wrote:
> Could it be IPv6?

The error message says,

  File "Lib/test/test_urllib.py", line 121, in setUp
    for k in os.environ.keys():
  File "/home/barry/projects/python/py3k/Lib/_abcoll.py", line 410, in __iter__
    for key in self._mapping:
  File "/home/barry/projects/python/py3k/Lib/os.py", line 441, in __iter__
    for key in self._data:
RuntimeError: dictionary changed size during iteration

I doubt if it is related to underlying IP. 

I thought it was with test runner (or threads) and the way we use EnvironGuard
in the tests. 

I have observed in a very inconsistent manner earlier, surprising that is
always failing on Ubuntu 10.10.


More information about the Python-Dev mailing list