[Numpy-svn] [numpy/numpy] 03d374: BUG: Propagate error when assigning an instance to...

GitHub noreply at github.com
Thu Dec 12 18:09:41 EST 2013


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 03d37473fcd15dba37eb93e2777886e9fdecb481
      https://github.com/numpy/numpy/commit/03d37473fcd15dba37eb93e2777886e9fdecb481
  Author: Lev Abalkin <abalkin at enlnt.com>
  Date:   2013-12-12 (Thu, 12 Dec 2013)

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

  Log Message:
  -----------
  BUG: Propagate error when assigning an instance to an array item.

Prior to this fix, numpy would swallow an error that may occur when
an instance of an old-style class would be used to set an item in an
incompatible array.  This would result in a SystemError.

Fixes #2276.


  Commit: 205598b0a4ff9cf81904d3871a7fd37931d914a2
      https://github.com/numpy/numpy/commit/205598b0a4ff9cf81904d3871a7fd37931d914a2
  Author: seberg <sebastian at sipsolutions.net>
  Date:   2013-12-12 (Thu, 12 Dec 2013)

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

  Log Message:
  -----------
  Merge pull request #4117 from abalkin/gh-2276

BUG: Propagate error when assigning an instance to an array item.


Compare: https://github.com/numpy/numpy/compare/e8869437dc88...205598b0a4ff


More information about the Numpy-svn mailing list