[Numpy-svn] [numpy/numpy] af8487: ENH: Remove type number ordering assumptions in Ca...

noreply at github.com noreply at github.com
Tue Nov 30 12:32:29 EST 2010


Branch: refs/heads/master
Home:   https://github.com/numpy/numpy

Commit: af84876fac13ac2e4e44ac0cae599fe9d6e68643
    https://github.com/numpy/numpy/commit/af84876fac13ac2e4e44ac0cae599fe9d6e68643
Author: Mark Wiebe <mwwiebe at gmail.com>
Date:   2010-11-30 (Tue, 30 Nov 2010)

Changed paths:
  M numpy/core/src/multiarray/convert_datatype.c
  M numpy/core/src/multiarray/getset.c
  M numpy/core/src/multiarray/multiarraymodule.c
  M numpy/core/src/multiarray/scalartypes.c.src
  M numpy/core/src/multiarray/scalartypes.h
  M numpy/core/src/multiarray/usertypes.c
  M numpy/core/tests/test_numeric.py
  A numpy/testing/print_coercion_tables.py

Log Message:
-----------
ENH: Remove type number ordering assumptions in CanCastSafely, ScalarKinds, and CanCoerceScalar

Also add print_coercion_tables.py to aid when refactoring
type casting/coercion/promotion.





More information about the Numpy-svn mailing list