[Numpy-svn] [numpy/numpy] ef6559: BUG: Fix regression in scipy that relied on quirky...

GitHub noreply at github.com
Tue Mar 21 17:34:37 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: ef6559dd63af3f6140c2011d3c02b4628c6fa766
      https://github.com/numpy/numpy/commit/ef6559dd63af3f6140c2011d3c02b4628c6fa766
  Author: Eric Wieser <wieser.eric at gmail.com>
  Date:   2017-03-21 (Tue, 21 Mar 2017)

  Changed paths:
    M numpy/lib/polynomial.py

  Log Message:
  -----------
  BUG: Fix regression in scipy that relied on quirky behaviour

Scipy needs `.__dict__['coeffs']` to work, so we can't call the member _coeffs


  Commit: 0ea21d1092c9154d72d50b04ba2c8025704c679f
      https://github.com/numpy/numpy/commit/0ea21d1092c9154d72d50b04ba2c8025704c679f
  Author: Eric Wieser <wieser.eric at gmail.com>
  Date:   2017-03-21 (Tue, 21 Mar 2017)

  Changed paths:
    M numpy/lib/polynomial.py

  Log Message:
  -----------
  BUG: Prevent modification of coefficients

`poly.coeffs = 1` has always failed with a strong exception guarantee.
However, `poly.coeffs += 1` would both change the state and fail.

Now both fail without affecting the value.


  Commit: 0dd7ca5d57f216d14f70c28694a15fb909ee645e
      https://github.com/numpy/numpy/commit/0dd7ca5d57f216d14f70c28694a15fb909ee645e
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2017-03-21 (Tue, 21 Mar 2017)

  Changed paths:
    M numpy/lib/polynomial.py

  Log Message:
  -----------
  Merge pull request #8788 from eric-wieser/poly1d-fixes-fixes

BUG: Fix scipy incompatibility with cleanup to poly1d


Compare: https://github.com/numpy/numpy/compare/71a12bdd037d...0dd7ca5d57f2


More information about the Numpy-svn mailing list