[Numpy-svn] [numpy/numpy] 997fe5: BUG: use correct type for hash values

GitHub noreply@github....
Sat Sep 14 13:46:31 CDT 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 997fe5b8dedaf0e58de72c9c789e56c328cd02c7
      https://github.com/numpy/numpy/commit/997fe5b8dedaf0e58de72c9c789e56c328cd02c7
  Author: Christoph Gohlke <cgohlke@uci.edu>
  Date:   2013-09-14 (Sat, 14 Sep 2013)

  Changed paths:
    M numpy/core/include/numpy/npy_3kcompat.h
    M numpy/core/src/multiarray/hashdescr.c
    M numpy/core/src/multiarray/hashdescr.h
    M numpy/core/src/multiarray/scalartypes.c.src

  Log Message:
  -----------
  BUG: use correct type for hash values

As of Python 3.2 hash values are of type Py_hash_t. Previous versions use C long.


  Commit: 4d53e8bef0915d08f260ca62fbc5b2ce3b8ec970
      https://github.com/numpy/numpy/commit/4d53e8bef0915d08f260ca62fbc5b2ce3b8ec970
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-09-14 (Sat, 14 Sep 2013)

  Changed paths:
    M numpy/core/include/numpy/npy_3kcompat.h
    M numpy/core/src/multiarray/hashdescr.c
    M numpy/core/src/multiarray/hashdescr.h
    M numpy/core/src/multiarray/scalartypes.c.src

  Log Message:
  -----------
  Merge pull request #3747 from cgohlke/py_hash_t

Fix issue #3743: Hash changed signature in Python 3.3


Compare: https://github.com/numpy/numpy/compare/f88a22523ec1...4d53e8bef091


More information about the Numpy-svn mailing list