[Numpy-svn] [numpy/numpy] 0a3a95: BUG: ticket #1578, Fix python-debug warning for py...

GitHub noreply at github.com
Wed Apr 11 10:54:52 EDT 2012


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 0a3a954c3750419552c076aa444563ac20def14a
      https://github.com/numpy/numpy/commit/0a3a954c3750419552c076aa444563ac20def14a
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-04-11 (Wed, 11 Apr 2012)

  Changed paths:
    M numpy/core/src/multiarray/scalarapi.c
  M numpy/core/src/multiarray/ucsnarrow.c

  Log Message:
  -----------
  BUG: ticket #1578, Fix python-debug warning for python >= 2.7.

In Python >= 2.7 the memory management of unicode objects changed from
PyMem_* to PyObject_*. Numpy had its own modified copy of some of the
Python code for handling unicode objects and it needed to be updated
to deal with the change. Thanks to Joseph Miessner for tracking this down
and finding the fix.


  Commit: 9aac5430326820f2c17c0cbdcd9bf072728fface
      https://github.com/numpy/numpy/commit/9aac5430326820f2c17c0cbdcd9bf072728fface
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2012-04-11 (Wed, 11 Apr 2012)

  Changed paths:
    M numpy/core/src/multiarray/ucsnarrow.c

  Log Message:
  -----------
  STY: Small style fixes.


Compare: https://github.com/numpy/numpy/compare/0dac136...9aac543


More information about the Numpy-svn mailing list