[Numpy-svn] [numpy/numpy] 7206b1: MAINT: Move FutureWarning in nansum.

GitHub noreply@github....
Sat Sep 14 17:43:07 CDT 2013


  Branch: refs/heads/maintenance/1.8.x
  Home:   https://github.com/numpy/numpy
  Commit: 7206b1dbf56a91a3cf6086d0e62ee805d6c0b6df
      https://github.com/numpy/numpy/commit/7206b1dbf56a91a3cf6086d0e62ee805d6c0b6df
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-09-14 (Sat, 14 Sep 2013)

  Changed paths:
    M numpy/lib/nanfunctions.py

  Log Message:
  -----------
  MAINT: Move FutureWarning in nansum.

Currently a FutureWarning about the sum of empty slices changing to zero
is always raised. Instead make it depend on the actual occurrence of an
empty slice.


  Commit: 13ccbb6b4a2040053bf33e3aaa566637737846ee
      https://github.com/numpy/numpy/commit/13ccbb6b4a2040053bf33e3aaa566637737846ee
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-09-14 (Sat, 14 Sep 2013)

  Changed paths:
    M numpy/lib/tests/test_nanfunctions.py

  Log Message:
  -----------
  TST: Test that FutureWarning is not raised by nansum if not all-nan.


  Commit: 557055f0813d713022fb92e68c75809a47461c22
      https://github.com/numpy/numpy/commit/557055f0813d713022fb92e68c75809a47461c22
  Author: Charles Harris <charlesr.harris@gmail.com>
  Date:   2013-09-14 (Sat, 14 Sep 2013)

  Changed paths:
    M numpy/lib/nanfunctions.py
    M numpy/lib/tests/test_nanfunctions.py

  Log Message:
  -----------
  Merge pull request #3745 from charris/move-nansum-warning-in-1.8

Move nansum warning in 1.8


Compare: https://github.com/numpy/numpy/compare/481bf9579d2a...557055f0813d


More information about the Numpy-svn mailing list