[issue5029] Odd slicing behaviour

2009-01-22 Thread Georg Brandl
Changes by Georg Brandl : -- resolution: -> works for me status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue5029] Odd slicing behaviour

2009-01-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: Why should it return an empty list? >>> foo = [1,2,3] >>> foo[1::-1] [2, 1] >>> foo[0::-1] [1] looks quite consistent to me. -- nosy: +pitrou ___ Python tracker _

[issue5029] Odd slicing behaviour

2009-01-21 Thread David W. Lambert
Changes by David W. Lambert : -- nosy: +LambertDW ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue5029] Odd slicing behaviour

2009-01-21 Thread Dinko Galetić
New submission from Dinko Galetić : #the following code should return an empty list, but returns the 0th member of the list >>> foo = [1, 2, 3] >>> foo[0::-1] [1] -- components: Regular Expressions messages: 80354 nosy: dgaletic severity: normal status: open title: Odd slicing behaviour