Fix object array check for numpy 1.7 (removal of numpy.object)
Merge branch 'master' into cffi