[Numpy-svn] [numpy/numpy] fa967e: ENH: Allow objects to use the array interface with...

GitHub noreply@github....
Tue Oct 9 23:56:56 CDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: fa967ee478e819ce34ee6de2745f3be4c5350b67
      https://github.com/numpy/numpy/commit/fa967ee478e819ce34ee6de2745f3be4c5350b67
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-09-16 (Sun, 16 Sep 2012)

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

  Log Message:
  -----------
  ENH: Allow objects to use the array interface without specifying data


  Commit: 9e7a7665394f8f314428343a6c7a9dfdcadf40ed
      https://github.com/numpy/numpy/commit/9e7a7665394f8f314428343a6c7a9dfdcadf40ed
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-09-16 (Sun, 16 Sep 2012)

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

  Log Message:
  -----------
  BUG: Make shape check for special case a bit stricter


  Commit: bfceb537ee18c02537fd56b76328bd000a272ff2
      https://github.com/numpy/numpy/commit/bfceb537ee18c02537fd56b76328bd000a272ff2
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-09-16 (Sun, 16 Sep 2012)

  Changed paths:
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  TST: Add test for special case in array interface


  Commit: 54b4dc7d40d013e388fabc81a4e36a4a8c0ed1a4
      https://github.com/numpy/numpy/commit/54b4dc7d40d013e388fabc81a4e36a4a8c0ed1a4
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-09-16 (Sun, 16 Sep 2012)

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

  Log Message:
  -----------
  BUG: Make sure empty shapes are disallowed when data is specified


  Commit: 32b1e64dfe854091a8ac4dbc38ca035f207419e9
      https://github.com/numpy/numpy/commit/32b1e64dfe854091a8ac4dbc38ca035f207419e9
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-09-19 (Wed, 19 Sep 2012)

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

  Log Message:
  -----------
  BUG: Fixes for Python 3.x


  Commit: acdf49b8cf4090dae1640a12ad4b919c6dc40feb
      https://github.com/numpy/numpy/commit/acdf49b8cf4090dae1640a12ad4b919c6dc40feb
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-09-30 (Sun, 30 Sep 2012)

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

  Log Message:
  -----------
  BUG: Handle scalars correctly.


  Commit: 097e823c84048a85082e4e1c9e35952ad39b2064
      https://github.com/numpy/numpy/commit/097e823c84048a85082e4e1c9e35952ad39b2064
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-09-30 (Sun, 30 Sep 2012)

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

  Log Message:
  -----------
  ENH: Assume object is scalar if no shape and data attribute are given


  Commit: de3075f5484a6e71273633bc1202c0971f8889e2
      https://github.com/numpy/numpy/commit/de3075f5484a6e71273633bc1202c0971f8889e2
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-09-30 (Sun, 30 Sep 2012)

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

  Log Message:
  -----------
  BUG: Disallow shapesize > 1 when coercing scalar to array


  Commit: 92ecbdde33f6f61712d7d1a0e4500c76a65aac7a
      https://github.com/numpy/numpy/commit/92ecbdde33f6f61712d7d1a0e4500c76a65aac7a
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-09-30 (Sun, 30 Sep 2012)

  Changed paths:
    M numpy/core/tests/test_multiarray.py

  Log Message:
  -----------
  TST: Add more tests.


  Commit: ca27396b2f32befb7465c4a245329716cb212b80
      https://github.com/numpy/numpy/commit/ca27396b2f32befb7465c4a245329716cb212b80
  Author: Travis E. Oliphant <teoliphant@gmail.com>
  Date:   2012-10-09 (Tue, 09 Oct 2012)

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

  Log Message:
  -----------
  Merge pull request #444 from 87/fix_array_iface

Fix for issue #291


Compare: https://github.com/numpy/numpy/compare/fd9ee7317a54...ca27396b2f32


More information about the Numpy-svn mailing list