The ViewList.__getitem__() implementation expects it
can be called with a slice object as the index parameter,
but also expects that using the slice as an index into a
list will always raise TypeError; in Python 2.3, that's no
longer the case. The result is that a real list can be
returned when ViewList.__getitem__() expected to take
an alternate path.
This patch reduced the number of test failures under
Python 2.3 to 4, from some very high number I don't
Log in to post a comment.