Zachary Ware <zachary.w...@gmail.com> added the comment:

Ezio requested further opinions, so here's mine.  I don't think the current 
behavior makes sense; I doubt anyone actually expects a negative index to be 
squashed to 0, especially for endpos.  I'm not certain that allowing negative 
indexes is really necessary, but seems nicer than raising an exception which 
would be the other acceptable option to me.

----------
nosy: +zach.ware

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

Reply via email to