[Numpy-svn] [numpy/numpy] 02e3a8: BUG: Convert non-array rhs for boolean assignment ...

GitHub noreply@github....
Mon Feb 4 18:41:50 CST 2013


  Branch: refs/heads/maintenance/1.7.x
  Home:   https://github.com/numpy/numpy
  Commit: 02e3a81595e5de093206a666a500abf80e75120d
      https://github.com/numpy/numpy/commit/02e3a81595e5de093206a666a500abf80e75120d
  Author: Sebastian Berg <sebastian@sipsolutions.net>
  Date:   2013-01-16 (Wed, 16 Jan 2013)

  Changed paths:
    M numpy/core/src/multiarray/mapping.c
    M numpy/core/tests/test_regression.py

  Log Message:
  -----------
  BUG: Convert non-array rhs for boolean assignment with correct dtype

Enforcing the left hand side datatype for a non-array right hand side
argument in index assignments was the behavior before 1.7. and is the
general behaviour here. (note this means a non-array right hand side
checks for NaN, etc. if the left hand side is integer, but an array
right hand side does not)


  Commit: 3087fd500fe98776fd5bba7beafbb9b2dad8ea7d
      https://github.com/numpy/numpy/commit/3087fd500fe98776fd5bba7beafbb9b2dad8ea7d
  Author: Ondřej Čertík <ondrej.certik@gmail.com>
  Date:   2013-02-03 (Sun, 03 Feb 2013)

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

  Log Message:
  -----------
  TST: Mark the test as knownfail for Python < 2.6


  Commit: 71775137cafeaf7a792519cfeca4d189478a9438
      https://github.com/numpy/numpy/commit/71775137cafeaf7a792519cfeca4d189478a9438
  Author: Ondřej Čertík <ondrej.certik@gmail.com>
  Date:   2013-02-04 (Mon, 04 Feb 2013)

  Changed paths:
    M numpy/core/src/multiarray/mapping.c
    M numpy/core/tests/test_regression.py

  Log Message:
  -----------
  Merge pull request #2920 from certik/backport2907

BUG: Convert non-array rhs for boolean assignment with correct dtype


Compare: https://github.com/numpy/numpy/compare/ec58fab55315...71775137cafe


More information about the Numpy-svn mailing list