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

GitHub noreply@github....
Thu Dec 13 22:18:04 CST 2012


  Branch: refs/heads/maintenance/1.7.x
  Home:   https://github.com/numpy/numpy
  Commit: fcd67d4ecfa1a30aac947a5711b1dd63dc6eac71
      https://github.com/numpy/numpy/commit/fcd67d4ecfa1a30aac947a5711b1dd63dc6eac71
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-12-13 (Thu, 13 Dec 2012)

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

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


  Commit: 6385ac48208571a0b34b2bf4bfd54fde8f93767a
      https://github.com/numpy/numpy/commit/6385ac48208571a0b34b2bf4bfd54fde8f93767a
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-12-13 (Thu, 13 Dec 2012)

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

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


  Commit: b24d9717c1e5709a26a388d8b63e66912d0d0fd7
      https://github.com/numpy/numpy/commit/b24d9717c1e5709a26a388d8b63e66912d0d0fd7
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-12-13 (Thu, 13 Dec 2012)

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

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


  Commit: 193f2d34fb873cf63f6565db94a678c6f7db56bb
      https://github.com/numpy/numpy/commit/193f2d34fb873cf63f6565db94a678c6f7db56bb
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-12-13 (Thu, 13 Dec 2012)

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

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


  Commit: b6ce3bb3178335ed07d624b619971d9c0d881da0
      https://github.com/numpy/numpy/commit/b6ce3bb3178335ed07d624b619971d9c0d881da0
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-12-13 (Thu, 13 Dec 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: 911dd0319ff067d74b16a26684cd05feb8053c61
      https://github.com/numpy/numpy/commit/911dd0319ff067d74b16a26684cd05feb8053c61
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-12-13 (Thu, 13 Dec 2012)

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

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


  Commit: e575a51153ef7ea6557156731fb0861f940f7d71
      https://github.com/numpy/numpy/commit/e575a51153ef7ea6557156731fb0861f940f7d71
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-12-13 (Thu, 13 Dec 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: 438567f8c026d79e4865b35a232b774b271ed23f
      https://github.com/numpy/numpy/commit/438567f8c026d79e4865b35a232b774b271ed23f
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-12-13 (Thu, 13 Dec 2012)

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

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


  Commit: 590811f0b388311ffdd7ba6f37dd2ea0480bbe8c
      https://github.com/numpy/numpy/commit/590811f0b388311ffdd7ba6f37dd2ea0480bbe8c
  Author: Han Genuit <hangenuit@gmail.com>
  Date:   2012-12-13 (Thu, 13 Dec 2012)

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

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


  Commit: 27a9c3622858d4f971c9fff78c74480fb2968721
      https://github.com/numpy/numpy/commit/27a9c3622858d4f971c9fff78c74480fb2968721
  Author: Ondřej Čertík <ondrej.certik@gmail.com>
  Date:   2012-12-13 (Thu, 13 Dec 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 #2815 from certik/backport444

Backport444


Compare: https://github.com/numpy/numpy/compare/cb0ee58cb2b4...27a9c3622858


More information about the Numpy-svn mailing list