Fix Python range infinite loop