Message174552
| 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. |
|