[Numpy-svn] [numpy/numpy] 9a86dc: MAINT: Always use PyCapsule instead of PyCObject i...

GitHub noreply at github.com
Sun Apr 10 15:30:23 EDT 2016


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 9a86dcb9ca63829e334748056ac4eb643b18bcd1
      https://github.com/numpy/numpy/commit/9a86dcb9ca63829e334748056ac4eb643b18bcd1
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-04-10 (Sun, 10 Apr 2016)

  Changed paths:
    M numpy/random/mtrand/Python.pxi
    R numpy/random/mtrand/mt_compat.h
    M numpy/random/mtrand/mtrand.pyx
    M numpy/random/mtrand/numpy.pxd

  Log Message:
  -----------
  MAINT: Always use PyCapsule instead of PyCObject in mtrand.pyx.

Python 2.7 has a backport of PyCapsule so we no longer need to support
PyCObject. This PR makes that change and removes the no longer needed
mt_compat.h file.


  Commit: a2c4c117478b34a0761a98a9e5c474ab5c4f5490
      https://github.com/numpy/numpy/commit/a2c4c117478b34a0761a98a9e5c474ab5c4f5490
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2016-04-10 (Sun, 10 Apr 2016)

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

  Log Message:
  -----------
  MAINT: Ignore DeprecationWarning for random_integers in tests.

The warning turned up when the numpy/randome/tests were run using

$ python runtests.py -t numpy/random/tests/

It doesn't show when all the tests are run.


  Commit: f1b009112f07b57fde07b99129c1b118a6669f51
      https://github.com/numpy/numpy/commit/f1b009112f07b57fde07b99129c1b118a6669f51
  Author: Nathaniel J. Smith <njs at pobox.com>
  Date:   2016-04-10 (Sun, 10 Apr 2016)

  Changed paths:
    M numpy/random/mtrand/Python.pxi
    R numpy/random/mtrand/mt_compat.h
    M numpy/random/mtrand/mtrand.pyx
    M numpy/random/mtrand/numpy.pxd
    M numpy/random/tests/test_random.py

  Log Message:
  -----------
  Merge pull request #7536 from charris/random-use-pycapsule

MAINT: Always use PyCapsule instead of PyCObject in mtrand.pyx


Compare: https://github.com/numpy/numpy/compare/a03435ab57da...f1b009112f07


More information about the Numpy-svn mailing list