[Numpy-svn] [numpy/numpy] 56471a: STY: PEP8 fixups for numpy/random.

GitHub noreply at github.com
Sun Aug 24 16:39:24 EDT 2014


  Branch: refs/heads/maintenance/1.9.x
  Home:   https://github.com/numpy/numpy
  Commit: 56471a170eee1c4694cde1889b8532e25f40e5d0
      https://github.com/numpy/numpy/commit/56471a170eee1c4694cde1889b8532e25f40e5d0
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2014-07-31 (Thu, 31 Jul 2014)

  Changed paths:
    M numpy/random/setup.py
    M numpy/random/tests/test_random.py
    M numpy/random/tests/test_regression.py

  Log Message:
  -----------
  STY: PEP8 fixups for numpy/random.


  Commit: 275b1dd62f125e6a92cc64f69c2ce2154799717a
      https://github.com/numpy/numpy/commit/275b1dd62f125e6a92cc64f69c2ce2154799717a
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2014-07-31 (Thu, 31 Jul 2014)

  Changed paths:
    M numpy/random/mtrand/mtrand.pyx

  Log Message:
  -----------
  BUG: Fix None comparison giving FutureWarning in choice function.

This is in numpy/random/mtrand/mtrand.pyx where the choice function
was using comparisons of the form `None != p`.


  Commit: 4475f1ea7643c08c1ea77d8b872fc5c7ad32bd4f
      https://github.com/numpy/numpy/commit/4475f1ea7643c08c1ea77d8b872fc5c7ad32bd4f
  Author: Julian Taylor <jtaylor.debian at googlemail.com>
  Date:   2014-08-24 (Sun, 24 Aug 2014)

  Changed paths:
    M numpy/random/mtrand/mtrand.pyx
    M numpy/random/setup.py
    M numpy/random/tests/test_random.py
    M numpy/random/tests/test_regression.py

  Log Message:
  -----------
  Merge pull request #4937 from charris/pep8-numpy-random

Pep8 numpy random


Compare: https://github.com/numpy/numpy/compare/3f165d406428...4475f1ea7643


More information about the Numpy-svn mailing list