[Numpy-svn] [numpy/numpy] c5a406: This change allows ufunc operand flags to be set i...
GitHub
noreply at github.com
Fri May 10 16:52:15 EDT 2013
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: c5a406fc3e135002c73bba1a69c3a566664e7b66
https://github.com/numpy/numpy/commit/c5a406fc3e135002c73bba1a69c3a566664e7b66
Author: jayvius <jay.bourque at continuum.io>
Date: 2013-05-06 (Mon, 06 May 2013)
Changed paths:
M numpy/core/include/numpy/ufuncobject.h
M numpy/core/src/umath/ufunc_object.c
Log Message:
-----------
This change allows ufunc operand flags to be set in addition to the
default operand flags set by the nditer object. For example, after
calling PyUFunc_FromFuncAndData() to create a ufunc object, the first
operand can be set to be read/write like so:
ufunc->op_flags[0] = NPY_ITER_READWRITE
Setting flags for output operands is not supported at this time and
will raise an exception.
This change also allows the global nditer flags to be set, so after
setting the read/write flag, the reduce ok flag could be set like so:
ufunc->iter_flags = NPY_ITER_REDUCE_OK
Commit: 457ece1a3a019791d4c74001aa1965475f674586
https://github.com/numpy/numpy/commit/457ece1a3a019791d4c74001aa1965475f674586
Author: jayvius <jay.bourque at continuum.io>
Date: 2013-05-06 (Mon, 06 May 2013)
Changed paths:
M numpy/core/src/umath/ufunc_object.c
Log Message:
-----------
minor fixes for previous ufunc operand flag change
Commit: 5792393e441a20075a11a1bd5efa4c1ba1aaf620
https://github.com/numpy/numpy/commit/5792393e441a20075a11a1bd5efa4c1ba1aaf620
Author: Jay Bourque <jay.bourque at continuum.io>
Date: 2013-05-06 (Mon, 06 May 2013)
Changed paths:
M numpy/core/src/umath/umathmodule.c
Log Message:
-----------
initialize ufunc op_flags pointer in frompyfunc()
Commit: 486a5377e776fdb811103ff956a156a409ffd1ec
https://github.com/numpy/numpy/commit/486a5377e776fdb811103ff956a156a409ffd1ec
Author: Jay Bourque <jay.bourque at continuum.io>
Date: 2013-05-06 (Mon, 06 May 2013)
Changed paths:
M numpy/core/src/umath/umathmodule.c
Log Message:
-----------
correctly initialize op_flags and iter_flags in frompyfunc()
Commit: fdb42c4f9b27c6cfe5b071bd89eae97c0053297f
https://github.com/numpy/numpy/commit/fdb42c4f9b27c6cfe5b071bd89eae97c0053297f
Author: Jay Bourque <jay.bourque at continuum.io>
Date: 2013-05-06 (Mon, 06 May 2013)
Changed paths:
M numpy/core/src/umath/ufunc_object.c
Log Message:
-----------
Remove guard against read+write output operands
Commit: 1a285423e1a4d48cab7e66266d22a5c65e8fe66e
https://github.com/numpy/numpy/commit/1a285423e1a4d48cab7e66266d22a5c65e8fe66e
Author: Jay Bourque <jay.bourque at continuum.io>
Date: 2013-05-06 (Mon, 06 May 2013)
Changed paths:
M doc/release/1.8.0-notes.rst
M doc/source/reference/c-api.types-and-structures.rst
Log Message:
-----------
Update c api documentation
Commit: 086ac27bbb7045448485a492244a5c5e11392948
https://github.com/numpy/numpy/commit/086ac27bbb7045448485a492244a5c5e11392948
Author: Jay Bourque <jay.bourque at continuum.io>
Date: 2013-05-06 (Mon, 06 May 2013)
Changed paths:
M numpy/core/setup.py
A numpy/core/src/umath/operand_flag_tests.c.src
M numpy/core/tests/test_ufunc.py
Log Message:
-----------
Add test for setting operand flags through c api
Commit: 2ac16285e630acab83be645e2990805f27fe9e16
https://github.com/numpy/numpy/commit/2ac16285e630acab83be645e2990805f27fe9e16
Author: Jay Bourque <jay.bourque at continuum.io>
Date: 2013-05-06 (Mon, 06 May 2013)
Changed paths:
M numpy/core/src/umath/operand_flag_tests.c.src
Log Message:
-----------
Fix python 2/3 issues in operand_flag_tests module
Commit: 4b4dc5f4754f85becb73b0d621739a801a27210d
https://github.com/numpy/numpy/commit/4b4dc5f4754f85becb73b0d621739a801a27210d
Author: Jay Bourque <jay.bourque at continuum.io>
Date: 2013-05-06 (Mon, 06 May 2013)
Changed paths:
M numpy/core/include/numpy/ufuncobject.h
M numpy/core/setup.py
M numpy/core/src/umath/ufunc_object.c
Log Message:
-----------
Fix formatting issues
Commit: 876aec114caeeda4c5558e32c7944f60851f1885
https://github.com/numpy/numpy/commit/876aec114caeeda4c5558e32c7944f60851f1885
Author: Jay Bourque <jay.bourque at continuum.io>
Date: 2013-05-09 (Thu, 09 May 2013)
Changed paths:
M numpy/core/src/umath/ufunc_object.c
Log Message:
-----------
Whitespace changes
Commit: c1bbf8fec2b03e85e2e51da17fc3badee98e0c3e
https://github.com/numpy/numpy/commit/c1bbf8fec2b03e85e2e51da17fc3badee98e0c3e
Author: Jay Bourque <jay.bourque at continuum.io>
Date: 2013-05-09 (Thu, 09 May 2013)
Changed paths:
M numpy/core/src/umath/ufunc_object.c
M numpy/core/src/umath/umathmodule.c
Log Message:
-----------
Add null check after allocating op_flags
Commit: ec23d01d9c333f95db5d9349354766b38d37cae7
https://github.com/numpy/numpy/commit/ec23d01d9c333f95db5d9349354766b38d37cae7
Author: Jay Bourque <jay.bourque at continuum.io>
Date: 2013-05-10 (Fri, 10 May 2013)
Changed paths:
M numpy/core/src/umath/ufunc_object.c
Log Message:
-----------
Remove unneeded blank line
Commit: aac0e1b3556c3dabf69a9750d4470993ad7a6a98
https://github.com/numpy/numpy/commit/aac0e1b3556c3dabf69a9750d4470993ad7a6a98
Author: Charles Harris <charlesr.harris at gmail.com>
Date: 2013-05-10 (Fri, 10 May 2013)
Changed paths:
M doc/release/1.8.0-notes.rst
M doc/source/reference/c-api.types-and-structures.rst
M numpy/core/include/numpy/ufuncobject.h
M numpy/core/setup.py
A numpy/core/src/umath/operand_flag_tests.c.src
M numpy/core/src/umath/ufunc_object.c
M numpy/core/src/umath/umathmodule.c
M numpy/core/tests/test_ufunc.py
Log Message:
-----------
Merge pull request #359 from jayvius/operand-flags
Allow ufunc operand flags to be set
Compare: https://github.com/numpy/numpy/compare/6b892cf99488...aac0e1b3556c
More information about the Numpy-svn
mailing list