[Numpy-svn] [numpy/numpy] f685f1: ENH: Deprecation warnings for `/` integer division...

GitHub noreply at github.com
Tue Nov 1 05:39:13 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: f685f1a83de2d8fc1e0f48167a204248b6656a63
      https://github.com/numpy/numpy/commit/f685f1a83de2d8fc1e0f48167a204248b6656a63
  Author: saurabh <e.samehta at gmail.com>
  Date:   2016-11-01 (Tue, 01 Nov 2016)

  Changed paths:
    M .travis.yml
    M doc/release/1.12.0-notes.rst
    M numpy/core/code_generators/generate_umath.py
    M numpy/core/src/umath/ufunc_type_resolution.c
    M numpy/core/src/umath/ufunc_type_resolution.h
    M numpy/core/tests/test_deprecations.py
    M numpy/core/tests/test_multiarray.py
    M numpy/core/tests/test_regression.py
    M numpy/core/tests/test_scalarmath.py
    M numpy/ma/tests/test_subclassing.py
    M numpy/testing/nosetester.py
    M tools/travis-test.sh

  Log Message:
  -----------
  ENH: Deprecation warnings for `/` integer division when running python -3

When python is invoked with switch -3, it emits waring "classic int division"
for strict integer divisions. The same behavior is now implemented to numpy
with this fix


  Commit: 19fc7ad7f758a57d23c07830a3a8d054e7a11089
      https://github.com/numpy/numpy/commit/19fc7ad7f758a57d23c07830a3a8d054e7a11089
  Author: seberg <sebastian at sipsolutions.net>
  Date:   2016-11-01 (Tue, 01 Nov 2016)

  Changed paths:
    M .travis.yml
    M doc/release/1.12.0-notes.rst
    M numpy/core/code_generators/generate_umath.py
    M numpy/core/src/umath/ufunc_type_resolution.c
    M numpy/core/src/umath/ufunc_type_resolution.h
    M numpy/core/tests/test_deprecations.py
    M numpy/core/tests/test_multiarray.py
    M numpy/core/tests/test_regression.py
    M numpy/core/tests/test_scalarmath.py
    M numpy/ma/tests/test_subclassing.py
    M numpy/testing/nosetester.py
    M tools/travis-test.sh

  Log Message:
  -----------
  Merge pull request #8083 from njase/enh_7949

ENH: Deprecation warnings for `/` integer division when running python -3.


Compare: https://github.com/numpy/numpy/compare/6ae842001332...19fc7ad7f758


More information about the Numpy-svn mailing list