Changed _get_long to return python long instead of float