numpy/numpy — pull request #3984 by jayvius (2013-10-26 21:43:08+00:00)
Title: Fix promote_types for strings and numbers

String and number types should only be promotable to each other if their sizes match. Currently promote_types always returns the string type even if it's too small for the number type. Also, even if the string type size is larger than the number type size, the documentation for pomote_types says this should still fail.