Fix itervalues -> values.  As reported by Massimiliano Costacurta in mailing list thread "BUG: RuntimeError: dictionary changed size during iteration"
Merge pull request #1698 from mdboom/iteritems_bug

Fix bug updating WeakKeyDictionary during iteration