[issue25641] urllib/request.py/getproxies_environment() throws "dictionary changed size during iteration" error occasionally

Raymond Hettinger report at bugs.python.org
Tue Nov 17 02:08:26 EST 2015


Raymond Hettinger added the comment:

For a simple fix, 2393 should probably read:

    for name, value in list(os.environ.items()):

----------
nosy: +rhettinger

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


More information about the Python-bugs-list mailing list