Message148315
range has an odd behavior in which it assumes (regardless of start/end) that it should be counting up. Attempting something such as:
for i in range(10,0):
print i
This loop simply runs through without doing anything, because start is larger than end.
I'm putting forward the proposition that when end is lower than start, range should count downwards rather than upwards. |
|
Date |
User |
Action |
Args |
2011-11-25 14:51:35 | Asa.Dawson | set | recipients:
+ Asa.Dawson |
2011-11-25 14:51:35 | Asa.Dawson | set | messageid: <1322232695.49.0.811038839727.issue13480@psf.upfronthosting.co.za> |
2011-11-25 14:51:34 | Asa.Dawson | link | issue13480 messages |
2011-11-25 14:51:34 | Asa.Dawson | create | |
|