perhaps use `six.itervalues`