numpy/numpy — pull request #231 by cournape (2012-03-07 16:44:58+00:00)
Title: Fix dtype int vs char inconsistencies + dtype hashing

Fix int->char invalid casts + fix #2017 by ignoring type_num when hashing dtype. Doing the latter is justified by PyArray_EquivTypes which ignores it as well.