Heiko Wundram wrote: > Am Donnerstag 18 Mai 2006 19:27 schrieb George Sakkis: > > It would be useful if list.sort() accepted two more optional > > parameters, start and stop, so that you can sort a slice in place. > > I've just submitted: > > http://sourceforge.net/tracker/index.php?func=detail&aid=1491804&group_id=5470&atid=305470 > > to the bugtracker, which extends the (start, stop) keyword arguments to > list.reverse() (which I've needed more than once). The patch updates the test > suite, documentation, list object, and sorted() builtin to accept (or > specify) the new arguments. > > Any comment/feedback would be appreciated. > > --- Heiko.
This is great, thanks Heiko ! Any idea on the chances of being considered for inclusion in 2.5 ? George -- http://mail.python.org/mailman/listinfo/python-list