Author serhiy.storchaka
Recipients Paul.Upchurch, eric.araujo, hynek, mark.dickinson, ned.deily, serhiy.storchaka
Date 2012-11-02.18:27:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351880871.08.0.681923641164.issue14794@psf.upfronthosting.co.za>
In-reply-to
Content
I think the issue is than slice constructor accepts integer out of Py_ssize_t range. And more, it accepts any objects, not only integers or None.

>>> slice(3.4, 'a', {})
slice(3.4, 'a', {})

May be we should disallow creating of such doubtful slices and raise TypeError or OverflowError.
History
Date User Action Args
2012-11-02 18:27:51serhiy.storchakasetrecipients: + serhiy.storchaka, mark.dickinson, ned.deily, eric.araujo, hynek, Paul.Upchurch
2012-11-02 18:27:51serhiy.storchakasetmessageid: <1351880871.08.0.681923641164.issue14794@psf.upfronthosting.co.za>
2012-11-02 18:27:51serhiy.storchakalinkissue14794 messages
2012-11-02 18:27:50serhiy.storchakacreate