def iteritems(d):
    return iter(getattr(d, _iteritems)())
Replace spaces with '-' and hash if length is greater than 250.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/utils/six.py/iteritems--crossover with--dataset/ETHPy150Open montylounge/django-sugar/sugar/cache/utils.py/clean_cache_key