Message174552
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. |
|
Date |
User |
Action |
Args |
2012-11-02 18:27:51 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, mark.dickinson, ned.deily, eric.araujo, hynek, Paul.Upchurch |
2012-11-02 18:27:51 | serhiy.storchaka | set | messageid: <1351880871.08.0.681923641164.issue14794@psf.upfronthosting.co.za> |
2012-11-02 18:27:51 | serhiy.storchaka | link | issue14794 messages |
2012-11-02 18:27:50 | serhiy.storchaka | create | |
|