This is an attempt to fix the bug reported in the mailing list thread "BUG: RuntimeError: dictionary changed size during iteration".
Fix itervalues -> values. As reported by Massimiliano Costacurta in m…
…ailing list thread "BUG: RuntimeError: dictionary changed size during iteration"
Does this fix the problem?
View changed from a copy to a view between python2.7 and python3.2. Maybe 2to3 handles this magic?
Yes -- 2to3 converts dict.values() into list(dict.values())