id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,work_issues,upstream,reviewer,author,merged,dependencies,stopgaps
12119,Replace remaining __getslice__ with functionality in __getitem__ (part 3),aapitzsch,jason,"{{{__getslice__}}} has been deprecated for a long time in Python. This patch adds equivalent functionality to {{{__getitem__}}}, which is where the functionality should be.

Apply #12041 and #12093.

{{{
sage: search_src(""slice__"")
rings/power_series_poly.pyx:333:                # __getslice__ isn't just called by default...
rings/power_series_poly.pyx:334:            #    return self.__getslice__(slice[0],slice[1])
rings/polynomial/polynomial_integer_dense_ntl.pyx:312:    def __getslice__(self, long i, long j):
rings/polynomial/polynomial_rational_flint.pyx:381:    def __getslice__(self, long i, long j):
rings/polynomial/polynomial_element_generic.py:316:    def __getslice__(self, i, j):
rings/polynomial/padics/polynomial_padic_capped_relative_dense.py:414:    def __getslice__(self, i, j):
databases/stein_watkins.py:257:    def __getslice__(self, min_level, max_level):
modular/modform/element.py:338:    def __getslice__(self, i, j):
modular/modform/element.py:352:            sage: f.__getslice__(10,15)
modular/abvar/abvar.py:3494:    def __getslice__(self, i, j):
structure/sequence.py:580:    def __getslice__(self, i, j):
structure/sequence.py:583:    def __setslice__(self, i, j, value):
media/wav.py:336:    def __getslice__(self, start, stop):
plot/animate.py:150:    def __getslice__(self, *args):
plot/animate.py:165:        return Animation(self.__frames.__getslice__(*args), **self.__kwds)
}}}

Remove remaining {{{__*slice__}}} functions except for the ones in {{{structure/sequence.py}}}. See comment:7:ticket:12093 for details.",defect,closed,major,sage-5.0,misc,fixed,,,,N/A,David Loeffler,André Apitzsch,sage-5.0.beta9,#12093,
