• Raymond Hettinger's avatar
    SF bug #730296: Unexpected Changes in list Iterator · 686b14d7
    Raymond Hettinger yazdı
    Reverted a Py2.3b1 change to iterator in subclasses of list and tuple.
    They had been changed to use __getitem__ whenever it had been overriden
    in the subclass.
    
    This caused some usabilty and performance problems.  Also, it was
    inconsistent with the rest of python where many container methods
    access the underlying object directly without first checking for
    an overridden getter.  Users needing a change in iterator behavior
    should override it directly.
    686b14d7
tupleobject.c 18.3 KB