more __hash__ for Python 3