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.

Author rhettinger
Recipients Carl.Friedrich.Bolz, alex, amaury.forgeotdarc, mark.dickinson, petri.lehtinen, python-dev, rhettinger
Date 2011-11-06.17:18:05
SpamBayes Score 0.00016051104
Marked as misclassified No
Message-id <1320599886.16.0.0757025316117.issue13340@psf.upfronthosting.co.za>
In-reply-to
Content
One other thought:  the API for list.index() doesn't exist in isolation.  There is also str.index, the sequence abstract base class, and tons of code that has been written to emulate lists.  This is an ancient API (approx 20 years) and should only be changed with care.

IOW, I don't think this change should have been made at all, at least not without a discussion on python-dev and motivating use cases.
History
Date User Action Args
2011-11-06 17:18:06rhettingersetrecipients: + rhettinger, amaury.forgeotdarc, mark.dickinson, Carl.Friedrich.Bolz, alex, python-dev, petri.lehtinen
2011-11-06 17:18:06rhettingersetmessageid: <1320599886.16.0.0757025316117.issue13340@psf.upfronthosting.co.za>
2011-11-06 17:18:05rhettingerlinkissue13340 messages
2011-11-06 17:18:05rhettingercreate