[Numpy-svn] [numpy/numpy] 11fe65: ENH: Implement sys.getsizeof(x) for arrays and sca...
GitHub
noreply at github.com
Tue Aug 26 18:44:04 EDT 2014
Branch: refs/heads/master
Home: https://github.com/numpy/numpy
Commit: 11fe65ce02db95dd81c8e3671bfab963daa53a3f
https://github.com/numpy/numpy/commit/11fe65ce02db95dd81c8e3671bfab963daa53a3f
Author: Daniel da Silva <daniel at meltingwax.net>
Date: 2014-08-26 (Tue, 26 Aug 2014)
Changed paths:
M numpy/core/src/multiarray/methods.c
M numpy/core/src/multiarray/scalartypes.c.src
M numpy/core/tests/test_multiarray.py
M numpy/core/tests/test_scalarmath.py
Log Message:
-----------
ENH: Implement sys.getsizeof(x) for arrays and scalars.
Fixes #2279. Stubs/declares __sizeof__ method to use nbytes attribute.
Commit: 606ac22ab1a4357758b8c9b44b17b2dd0d04bd70
https://github.com/numpy/numpy/commit/606ac22ab1a4357758b8c9b44b17b2dd0d04bd70
Author: Julian Taylor <jtaylor.debian at googlemail.com>
Date: 2014-08-26 (Tue, 26 Aug 2014)
Changed paths:
M numpy/core/src/multiarray/methods.c
M numpy/core/src/multiarray/scalartypes.c.src
M numpy/core/tests/test_multiarray.py
M numpy/core/tests/test_scalarmath.py
Log Message:
-----------
ENH: add dimensions and strides to _sizeof__ and handle not owning data
Commit: 64c89327355d6154ef854dfee1be6c264125ccaa
https://github.com/numpy/numpy/commit/64c89327355d6154ef854dfee1be6c264125ccaa
Author: Nathaniel J. Smith <njs at pobox.com>
Date: 2014-08-26 (Tue, 26 Aug 2014)
Changed paths:
M numpy/core/src/multiarray/methods.c
M numpy/core/src/multiarray/scalartypes.c.src
M numpy/core/tests/test_multiarray.py
M numpy/core/tests/test_scalarmath.py
Log Message:
-----------
Merge pull request #5001 from juliantaylor/sizeof
support __sizeof__()
Compare: https://github.com/numpy/numpy/compare/52d6c3de0d18...64c89327355d
More information about the Numpy-svn
mailing list