Skip to content
  • Joseph Weston's avatar
    fix hashing, replace hash for doubles by Python API function · bf7f6707
    Joseph Weston authored
    There were several changes in hashing between Python 2 and 3,
    including several macros being added to avoid "magic numbers".
    In addition, instead of having a hand-rolled implementation of
    hashing for `double` values we just use the Python API function
    `_Py_HashDouble` for compatibility.
    bf7f6707