BinPy believes that user will not input any bad corner case. so. if you are removing case when index<0 then there can be many more cases where Exception can be raised !