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

GitHub noreply@github....
Wed Apr 11 09:42:32 CDT 2012


  Branch: refs/heads/maintenance/1.6.x
  Home:   https://github.com/numpy/numpy
  Commit: 2c9c342e9e5dc3fbd9de029be4638ae35bf890ab
      https://github.com/numpy/numpy/commit/2c9c342e9e5dc3fbd9de029be4638ae35bf890ab
  Author: Charles Harris <charlesr.harris@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.





More information about the Numpy-svn mailing list