R. David Murray <rdmur...@bitdance.com> added the comment:

Nope.  If you want to count backward, use a negative step.  Not doing anything 
if end is lower than start allows code to take advantage of "don't care" edge 
cases, just like 'abc'[4:] returning the empty string does.  Range is often 
used in 'for' loops, so having the loop not execute if the computed end is less 
than the computed start is an intentional and important feature.

----------
nosy: +r.david.murray
resolution:  -> invalid
stage:  -> committed/rejected
status: open -> closed

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13480>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to