Invalid partitioner hashing when using Python 3
Bug #1743243 reported by
Marat Sharafutdinov
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tooz |
Fix Released
|
Undecided
|
Julien Danjou |
Bug Description
There is hashing function at the Partitioner class:
@staticmethod
def _hash_object(obj):
if hasattr(obj, "__tooz_hash__"):
return obj.__tooz_hash__()
return str(hash(
If an object does not have implemented "__tooz_hash__" method than builtin "hash" function is used.
If Python 2 is used then it is ok, but since Python 3.3 "hash" function has randomization enabled by default (https:/
description: | updated |
description: | updated |
summary: |
- Invalid partitioner hashing using Python 3 + Invalid partitioner hashing when using Python 3 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/535280
Review: https:/