[Numpy-svn] [numpy/numpy] be3f0b: MAINT: Refactor numpy/polynomial/_polybase.py

GitHub noreply at github.com
Sun May 4 09:35:14 EDT 2014


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: be3f0b1e1332b2a153b11f5027835a054a511427
      https://github.com/numpy/numpy/commit/be3f0b1e1332b2a153b11f5027835a054a511427
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2014-05-03 (Sat, 03 May 2014)

  Changed paths:
    M numpy/polynomial/_polybase.py

  Log Message:
  -----------
  MAINT: Refactor numpy/polynomial/_polybase.py

1) Clean up the code and move repeated snippet to a method.
2) Remove use of has_sametype, has_samewindow, has_samedomain. I would
   like to deprecate those methods.
3) Fix error in __truediv__, and make it only allow non-boolean numbers
   for the denominator.

Closes #4631.


  Commit: 8c72a78f56d1f87ca801495bec0c0d676d2ef6a5
      https://github.com/numpy/numpy/commit/8c72a78f56d1f87ca801495bec0c0d676d2ef6a5
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2014-05-03 (Sat, 03 May 2014)

  Changed paths:
    M numpy/polynomial/polytemplate.py

  Log Message:
  -----------
  BUG: Fix __truediv__ bug in polytemplate.py file.

The use of polytemplate is deprecated, this fix is only for a backport
if needed.


  Commit: 24a0fd428b80d8db50a9bd5f1c151d3a99bcdcb2
      https://github.com/numpy/numpy/commit/24a0fd428b80d8db50a9bd5f1c151d3a99bcdcb2
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2014-05-03 (Sat, 03 May 2014)

  Changed paths:
    M numpy/polynomial/tests/test_classes.py

  Log Message:
  -----------
  TST: Add tests for the polynomial classes true division.


  Commit: ac92c617851994ac1f400886c736cd4d44e2c836
      https://github.com/numpy/numpy/commit/ac92c617851994ac1f400886c736cd4d44e2c836
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2014-05-04 (Sun, 04 May 2014)

  Changed paths:
    M numpy/polynomial/_polybase.py
    M numpy/polynomial/polytemplate.py
    M numpy/polynomial/tests/test_classes.py

  Log Message:
  -----------
  Merge pull request #4633 from charris/fix-polynomial-true-division

Fix polynomial true division


Compare: https://github.com/numpy/numpy/compare/214296286868...ac92c6178519


More information about the Numpy-svn mailing list