[Numpy-svn] [numpy/numpy] 1d6f54: BUG: Replace unprefixed SIZEOF_* macros with prefi...

GitHub noreply@github....
Sat Jan 5 16:59:52 CST 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 1d6f543eb85a2632a8dcee401e8ec76776f407e3
      https://github.com/numpy/numpy/commit/1d6f543eb85a2632a8dcee401e8ec76776f407e3
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-01-05 (Sat, 05 Jan 2013)

  Changed paths:
    M numpy/core/src/multiarray/arraytypes.c.src
    M numpy/core/src/multiarray/conversion_utils.c
    M numpy/core/src/multiarray/getset.c
    M numpy/core/src/multiarray/iterators.c
    M numpy/core/src/multiarray/mapping.h
    M numpy/core/src/multiarray/multiarraymodule.c
    M numpy/core/src/multiarray/scalartypes.c.src
    M numpy/core/src/npymath/_signbit.c
    M numpy/core/src/scalarmathmodule.c.src

  Log Message:
  -----------
  BUG: Replace unprefixed SIZEOF_* macros with prefixed versions.

The sources don't define NPY_NO_PREFIX and consequently none of the
unprefixed macros are defined. Using them can lead to some unexpected
results.


  Commit: ce8ece2d613589c2ab32a69ab91804e727eb86b0
      https://github.com/numpy/numpy/commit/ce8ece2d613589c2ab32a69ab91804e727eb86b0
  Author: njsmith <njs@pobox.com>
  Date:   2013-01-05 (Sat, 05 Jan 2013)

  Changed paths:
    M numpy/core/src/multiarray/arraytypes.c.src
    M numpy/core/src/multiarray/conversion_utils.c
    M numpy/core/src/multiarray/getset.c
    M numpy/core/src/multiarray/iterators.c
    M numpy/core/src/multiarray/mapping.h
    M numpy/core/src/multiarray/multiarraymodule.c
    M numpy/core/src/multiarray/scalartypes.c.src
    M numpy/core/src/npymath/_signbit.c
    M numpy/core/src/scalarmathmodule.c.src

  Log Message:
  -----------
  Merge pull request #2887 from charris/fix-unprefixed-sizeof-macros

BUG: Replace unprefixed SIZEOF_* macros with prefixed versions.


Compare: https://github.com/numpy/numpy/compare/05dde0f73341...ce8ece2d6135


More information about the Numpy-svn mailing list