Author serhiy.storchaka
Recipients mark.dickinson, serhiy.storchaka, tehybel, terry.reedy
Date 2016-08-27.10:49:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1472294961.58.0.634665848997.issue27867@psf.upfronthosting.co.za>
In-reply-to
Content
Even list suffers from this bug if slicing step is not 1.

class X:
    def __index__(self):
        del a[:]
        return 1

a = [0]
a[:X():2]
History
Date User Action Args
2016-08-27 10:49:21serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, mark.dickinson, tehybel
2016-08-27 10:49:21serhiy.storchakasetmessageid: <1472294961.58.0.634665848997.issue27867@psf.upfronthosting.co.za>
2016-08-27 10:49:21serhiy.storchakalinkissue27867 messages
2016-08-27 10:49:21serhiy.storchakacreate