Should this use ```PyFloat_AsDouble```? (http://docs.python.org/2/c-api/float.html#PyFloat_AsDouble)