[Numpy-svn] [numpy/numpy] c42ed2: BUG: Make iscomplexobj compatible with custom dtyp...

GitHub noreply at github.com
Sun Feb 12 14:26:46 EST 2017


  Branch: refs/heads/maintenance/1.12.x
  Home:   https://github.com/numpy/numpy
  Commit: c42ed284ea690c876499e89667f0bd75f4bfe3b4
      https://github.com/numpy/numpy/commit/c42ed284ea690c876499e89667f0bd75f4bfe3b4
  Author: Joerg Behrmann <behrmann at physik.fu-berlin.de>
  Date:   2017-02-12 (Sun, 12 Feb 2017)

  Changed paths:
    M numpy/lib/tests/test_type_check.py
    M numpy/lib/type_check.py

  Log Message:
  -----------
  BUG: Make iscomplexobj compatible with custom dtypes again

This change makes iscomplexobj compatible with custom array types
using custom dtypes, that are not fully compatible to Numpys dtypes,
which can nevertheless be coerced to a numpy array with asarray
again, as has been the behaviour before PR #7936.

Fixes #8601


  Commit: 3e453670c5709542b028cc541efb279f08393408
      https://github.com/numpy/numpy/commit/3e453670c5709542b028cc541efb279f08393408
  Author: Charles Harris <charlesr.harris at gmail.com>
  Date:   2017-02-12 (Sun, 12 Feb 2017)

  Changed paths:
    M numpy/lib/tests/test_type_check.py
    M numpy/lib/type_check.py

  Log Message:
  -----------
  Merge pull request #8609 from charris/backport-8602

BUG: Make iscomplexobj compatible with custom dtypes again


Compare: https://github.com/numpy/numpy/compare/0a458acbc3ad...3e453670c570


More information about the Numpy-svn mailing list