I think setting it to just 1 will suffice for getting the following loop past the first iteration. The note was simply there because within Google's reference code they always use sys.maxint, which seems to break on 64 bit machines (some casting problem that I don't recall the details of). I didn't realize numpy had this feature, so it's worth considering.