scikit-learn/scikit-learn — pull request #1274 by amueller (2012-10-24 16:45:29+00:00)
Title: MRG use the numbers module introduced in Python 2.6 to check for number types

Fixes 1255.