Message118710
Er, this patch is horrible. You should fix the generic bug, not workaround it on your particular environment. The test still fails with NO_PROXY:
$ NO_PROXY=1 ./python -m test.regrtest test_urllib
[1/1] test_urllib
Warning -- os.environ was modified by test_urllib
test test_urllib failed -- Traceback (most recent call last):
File "/home/antoine/py3k/__svn__/Lib/test/test_urllib.py", line 121, in setUp
for k in os.environ.keys():
File "/home/antoine/py3k/__svn__/Lib/_abcoll.py", line 410, in __iter__
for key in self._mapping:
File "/home/antoine/py3k/__svn__/Lib/os.py", line 441, in __iter__
for key in self._data:
RuntimeError: dictionary changed size during iteration |
|
Date |
User |
Action |
Args |
2010-10-14 18:29:58 | pitrou | set | recipients:
+ pitrou, barry, orsenthil |
2010-10-14 18:29:58 | pitrou | set | messageid: <1287080998.48.0.444228637633.issue10094@psf.upfronthosting.co.za> |
2010-10-14 18:29:57 | pitrou | link | issue10094 messages |
2010-10-14 18:29:56 | pitrou | create | |
|