On Wed, Jun 26, 2002 at 02:37:17AM -0400, Raymond Hettinger wrote: > Wild idea of the day: > Merge the code for xrange() into slice(). > So that old code will work, make the word 'xrange' a synonym for 'slice' It looks possible, but it will hurt the performance of xrange. Internally, xrange uses C longs while slice uses python objects with all the associated overhead. Oren