[Python-Dev] Xrange and Slices

Oren Tirosh oren-py-d@hishome.net
Thu, 27 Jun 2002 00:37:47 -0400


On Thu, Jun 27, 2002 at 02:38:12PM +1200, Greg Ewing wrote:
> Oren Tirosh <oren-py-d@hishome.net>:
> 
> > Since xrange is the one more commonly used in everyday 
> > programming I'd say that slice should be an alias to xrange, not the other
> > way around.
> 
> I was about to yell "No, don't do that, slice is a type!"
> when I decided I'd better make sure that's true...
> and found that it's NOT!

It is in the latest CVS and so is xrange.

	Oren