[Numpy-svn] [numpy/numpy] e95b6a: BUG: properly handle references of objects in new ...
GitHub
noreply at github.com
Sat Jan 25 06:34:39 EST 2014
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: e95b6acf10ba8bf4a8c2b7c1841cb1c5f7d6818d
https://github.com/numpy/numpy/commit/e95b6acf10ba8bf4a8c2b7c1841cb1c5f7d6818d
Author: Julian Taylor <jtaylor.debian at googlemail.com>
Date: 2014-01-19 (Sun, 19 Jan 2014)
Changed paths:
M numpy/core/src/multiarray/multiarraymodule.c
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
BUG: properly handle references of objects in new np.where
Objects must go over the objects copyswap function and GIL must be taken
before dereferences for correct reference counting.
Commit: cc81da650820e6a623dce41cc66d4b926c7f6941
https://github.com/numpy/numpy/commit/cc81da650820e6a623dce41cc66d4b926c7f6941
Author: Julian Taylor <jtaylor.debian at googlemail.com>
Date: 2014-01-22 (Wed, 22 Jan 2014)
Changed paths:
M numpy/core/src/multiarray/convert_datatype.c
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
BUG: min_scalar_type_num: special float values can be represented in half
E.g. pandas sometime uses float('NaN') which would otherwise convert to
float64 where not required. The new np.where which uses
PyArray_ResultType is a case where the conversion is unnecessary.
Commit: 79cd73535675f189ee77d9cc82c39dfb7149c0e4
https://github.com/numpy/numpy/commit/79cd73535675f189ee77d9cc82c39dfb7149c0e4
Author: Julian Taylor <jtaylor.debian at googlemail.com>
Date: 2014-01-22 (Wed, 22 Jan 2014)
Changed paths:
M doc/release/1.9.0-notes.rst
Log Message:
-----------
DOC: document special float scalar casting change in release notes
Commit: 8358f04ce9e6651e79f83a5960f3e3fcd383538f
https://github.com/numpy/numpy/commit/8358f04ce9e6651e79f83a5960f3e3fcd383538f
Author: seberg <sebastian at sipsolutions.net>
Date: 2014-01-25 (Sat, 25 Jan 2014)
Changed paths:
M doc/release/1.9.0-notes.rst
M numpy/core/src/multiarray/convert_datatype.c
M numpy/core/src/multiarray/multiarraymodule.c
M numpy/core/tests/test_multiarray.py
Log Message:
-----------
Merge pull request #4215 from juliantaylor/where-obj-fix
BUG: fix reference count, thread safety and dtypes of np.where
Compare: https://github.com/numpy/numpy/compare/631655e66a4c...8358f04ce9e6
More information about the Numpy-svn
mailing list