workaround for pypy dtype hash