This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Add start and end optional args to array.index
Type: Stage:
Components: Extension Modules Versions: Python 2.3
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: lpd, rhettinger
Priority: normal Keywords: patch

Created on 2004-01-03 01:45 by lpd, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
arrayindexpatch.tar.gz lpd, 2004-01-03 01:45 Context diffs for patch
Messages (2)
msg45107 - (view) Author: L. Peter Deutsch (lpd) Date: 2004-01-03 01:45
array.index should accept optional start and end args,
like string.index and list.index. This patch adds this
capability to the code, the test, and the
documentation. I basically copied the code from list.index.

This is my first Python patch. The submission
guidelines suggested bundling the code, test, and doc
patches together, so I did, even though there are
separate Category entries for each of these. If I
should have submitted them separately, please let me know.
msg45108 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2004-03-13 21:19
Logged In: YES 
user_id=80475

The time machine beat you to this one.
It was already implemented for Py2.4.
See SF feature request #754014.
History
Date User Action Args
2022-04-11 14:56:02adminsetgithub: 39755
2004-01-03 01:45:26lpdcreate