|
From: Bryan C. <br...@co...> - 2006-02-17 20:10:40
|
> > > First, I think the range() function in python is ugly to begin with. > Why can't python just support range notation directly like 'for a in > 0:10'. Or with 0..10 or 0...10 syntax. That seems to make a lot more > sense to me than having to call a named function. Anyway, that's a > python pet peeve, and python's probably not going to change something > so fundamental... There was a python PEP on this. It got rejected as having too many 'issues'. Pity, in my view. see http://www.python.org/peps/pep-0204.html BC |