fix caching: hash() returns unexpected value in py3k