Fredrik Lundh wrote: > Peter Hansen wrote: >>Probably because at one point lists didn't even have the index() method, >>and when it was suggested and (I believe) Raymond H. added it > > the list "index" method has been in Python since, like, forever (early 1991, > according to CVS, which means that it was added about two years before > the first 1.0 alpha was made public...)
D'oh! My apologies: I was misremembering the addition of the optional "start" and "stop" arguments to the existing list() method, which happened in June 2003 (SF #754014 at http://sourceforge.net/tracker/index.php?func=detail&aid=754014&group_id=5470&atid=355470 ). -Peter -- http://mail.python.org/mailman/listinfo/python-list