[Numpy-svn] [numpy/numpy] 4e86e8: BUG: fix array too big error for wide dtypes.

GitHub noreply at github.com
Sat Mar 26 16:19:49 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 4e86e89be1afc9b6e72e959bdc21567a31f5e1e4
      https://github.com/numpy/numpy/commit/4e86e89be1afc9b6e72e959bdc21567a31f5e1e4
  Author: Sebastian Berg <sebastian at sipsolutions.net>
  Date:   2016-03-26 (Sat, 26 Mar 2016)

  Changed paths:
    M numpy/core/src/multiarray/ctors.c
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  BUG: fix array too big error for wide dtypes.

The error was not being raised when arr.size * arr.dtype.itemsize
was too large, but only when arr.size was too large alone.

Closes gh-7451


  Commit: 3e8c2b00ee7d0c438226057bebeb973c4ab3458f
      https://github.com/numpy/numpy/commit/3e8c2b00ee7d0c438226057bebeb973c4ab3458f
  Author: Sebastian Berg <sebastian at sipsolutions.net>
  Date:   2016-03-26 (Sat, 26 Mar 2016)

  Changed paths:
    M numpy/core/src/multiarray/ctors.c
    M numpy/core/src/multiarray/ctors.h
    M numpy/core/src/multiarray/shape.c

  Log Message:
  -----------
  MAINT: Rename size and sd to nbytes in NewFromDescr_int


  Commit: 6cdb45fc050323159ace2834fd7acffcfe10e21e
      https://github.com/numpy/numpy/commit/6cdb45fc050323159ace2834fd7acffcfe10e21e
  Author: Jaime <jaime.frio at gmail.com>
  Date:   2016-03-26 (Sat, 26 Mar 2016)

  Changed paths:
    M numpy/core/src/multiarray/ctors.c
    M numpy/core/src/multiarray/ctors.h
    M numpy/core/src/multiarray/shape.c
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  Merge pull request #7463 from seberg/array-too-large

BUG: fix array too big error for wide dtypes.


Compare: https://github.com/numpy/numpy/compare/ef389eec83d2...6cdb45fc0503


More information about the Numpy-svn mailing list