[Numpy-svn] [numpy/numpy] 460adc: BUG: Fixes SystemError in dtype(user_defined_type)...

GitHub noreply at github.com
Wed Mar 5 14:09:12 EST 2014


  Branch: refs/heads/master
  Home:   https://github.com/numpy/numpy
  Commit: 460adc0dcbc8782f81b9279a6f7917291d038ee8
      https://github.com/numpy/numpy/commit/460adc0dcbc8782f81b9279a6f7917291d038ee8
  Author: Daniel da Silva <daniel at meltingwax.net>
  Date:   2014-03-04 (Tue, 04 Mar 2014)

  Changed paths:
    M numpy/core/src/multiarray/descriptor.c
    M numpy/core/tests/test_dtype.py

  Log Message:
  -----------
  BUG: Fixes SystemError in dtype(user_defined_type).name

Adds an additional check that the "numpy." prefix exists before removing.

Closes #4357.


  Commit: 1dc00021dae1b0b56f6c3435d4e5d7b383228b82
      https://github.com/numpy/numpy/commit/1dc00021dae1b0b56f6c3435d4e5d7b383228b82
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2014-03-05 (Wed, 05 Mar 2014)

  Changed paths:
    M numpy/core/src/multiarray/descriptor.c
    M numpy/core/tests/test_dtype.py

  Log Message:
  -----------
  Merge pull request #4402 from meltingwax/meltingwax/4357

BUG: adds check in dtype.name that string starts with "numpy." prefix before removing it (Fixes #4357)


Compare: https://github.com/numpy/numpy/compare/8722ea095cad...1dc00021dae1


More information about the Numpy-svn mailing list