[issue42884] array.index() missing start and end

2021-01-10 Thread Daniel Nicorici
New submission from Daniel Nicorici : Add support for array.index(x [,start [,end]]). Adding start and end would allow to loop thru the entire array (and not start all the time from 0). Currently, is array.index(x) (and it returns the smallest i such that i is the index of the first occurren

[issue42884] array.index() missing start and end

2021-01-10 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue42884] array.index() missing start and end

2021-01-10 Thread Zackery Spytz
Zackery Spytz added the comment: This seems like a duplicate of bpo-31956. -- nosy: +ZackerySpytz ___ Python tracker ___ ___ Python

[issue42884] array.index() missing start and end

2022-03-19 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Add start and stop parameters to the array.index() ___ Python tracker _