[Numpy-svn] [numpy/numpy] ec151c: API: Change iterator API parameters ndim and niter...

noreply at github.com noreply at github.com
Thu Mar 10 21:41:17 EST 2011


Branch: refs/heads/master
Home:   https://github.com/numpy/numpy

Commit: ec151cc1147913ab470bba277f16a7085d69ec0c
    https://github.com/numpy/numpy/commit/ec151cc1147913ab470bba277f16a7085d69ec0c
Author: Mark Wiebe <mwwiebe at gmail.com>
Date:   2011-03-10 (Thu, 10 Mar 2011)

Changed paths:
  M doc/source/reference/c-api.iterator.rst
  M numpy/core/src/multiarray/einsum.c.src
  M numpy/core/src/multiarray/new_iterator.c.src
  M numpy/core/src/multiarray/new_iterator_pywrap.c
  M numpy/core/src/umath/ufunc_object.c

Log Message:
-----------
API: Change iterator API parameters ndim and niter from npy_intp to int

These parameters are never large, so it's better to use a straight int
instead of npy_intp, consistent with ndim in PyArrayObject as well.


Commit: 72ef8a6cd4a1491212e7fc4a581825e2267903c8
    https://github.com/numpy/numpy/commit/72ef8a6cd4a1491212e7fc4a581825e2267903c8
Author: Mark Wiebe <mwwiebe at gmail.com>
Date:   2011-03-10 (Thu, 10 Mar 2011)

Changed paths:
  M numpy/core/src/multiarray/einsum.c.src
  M numpy/core/src/multiarray/new_iterator.c.src
  M numpy/core/src/umath/ufunc_object.c

Log Message:
-----------
STY: Work around lack of variadic macros in debug tracing


Commit: 0c0c49ce89f447b423c52aee795b1bf1fec4e9fe
    https://github.com/numpy/numpy/commit/0c0c49ce89f447b423c52aee795b1bf1fec4e9fe
Author: Mark Wiebe <mwwiebe at gmail.com>
Date:   2011-03-10 (Thu, 10 Mar 2011)

Changed paths:
  M doc/source/reference/c-api.iterator.rst
  M numpy/core/include/numpy/ndarraytypes.h
  M numpy/core/src/multiarray/convert.c
  M numpy/core/src/multiarray/ctors.c
  M numpy/core/src/multiarray/einsum.c.src
  M numpy/core/src/multiarray/item_selection.c
  M numpy/core/src/multiarray/new_iterator.c.src
  M numpy/core/src/multiarray/new_iterator_pywrap.c
  M numpy/core/src/umath/ufunc_object.c
  M numpy/lib/src/_compiled_base.c

Log Message:
-----------
API: Rename the iterator function pointer types to be more consistent with NumPy convention

'NpyIter_IterNext_Fn' -> 'NpyIter_IterNextFunc *'
'NpyIter_GetCoords_Fn' -> 'NpyIter_GetCoordsFunc *'


Commit: f567479c716a6f9398820e92cde9f4ea129b889a
    https://github.com/numpy/numpy/commit/f567479c716a6f9398820e92cde9f4ea129b889a
Author: Mark Wiebe <mwwiebe at gmail.com>
Date:   2011-03-10 (Thu, 10 Mar 2011)

Changed paths:
  M numpy/core/code_generators/numpy_api.py
  M numpy/core/src/multiarray/convert.c
  M numpy/core/src/multiarray/convert.h
  M numpy/core/src/multiarray/einsum.c.src

Log Message:
-----------
API: Remove PyArray_FillWithZero from public API

This function is too specific. A function like
PyArray_FillWithValue(PyArrayObject *ao, double value)
would be better.


Commit: 65b4a8a12e13d6451b089c6ca5f55c9da684a0ac
    https://github.com/numpy/numpy/commit/65b4a8a12e13d6451b089c6ca5f55c9da684a0ac
Author: Mark Wiebe <mwwiebe at gmail.com>
Date:   2011-03-10 (Thu, 10 Mar 2011)

Changed paths:
  M doc/source/reference/c-api.array.rst
  M doc/source/reference/c-api.iterator.rst

Log Message:
-----------
DOC: Add some missing documentation, hyper-link the iterator documentation


Commit: 9001b794b7bdb3ca06d56b311eaa1ca9896068ac
    https://github.com/numpy/numpy/commit/9001b794b7bdb3ca06d56b311eaa1ca9896068ac
Author: Mark Wiebe <mwwiebe at gmail.com>
Date:   2011-03-10 (Thu, 10 Mar 2011)

Changed paths:
  M numpy/core/src/multiarray/new_iterator.c.src

Log Message:
-----------
STY: Remove a micro-optimization to make code more clear


Commit: 859c269b56e1b90c45e3f3ad2eb120e9d6a04a79
    https://github.com/numpy/numpy/commit/859c269b56e1b90c45e3f3ad2eb120e9d6a04a79
Author: Mark Wiebe <mwwiebe at gmail.com>
Date:   2011-03-10 (Thu, 10 Mar 2011)

Changed paths:
  M doc/source/reference/c-api.array.rst
  M doc/source/reference/c-api.iterator.rst

Log Message:
-----------
DOC: Replace 'deprecated' with 'superceded' in a few places, fix a typo.


Compare: https://github.com/numpy/numpy/compare/dede269...859c269



More information about the Numpy-svn mailing list