[Python-Dev] extended slicing again

Michael Hudson mwh@python.net
19 Jun 2002 17:07:55 +0100


Michael Hudson <mwh@python.net> writes:

> Guido van Rossum <guido@python.org> writes:
> 
> > IOW slice(a, b, None) should be considered equivalent to L[a:b] in all
> > situations.
> 
> OK.  I'll do this soon.  It's not as bad as I thought at first -- only
> mutable sequences are affected, so it's only lists and arrays that
> need to be tweaked.

That was easy!

Cheers,
M.

-- 
  I have no disaster recovery plan for black holes, I'm afraid.  Also
  please be aware that if it one looks imminent I will be out rioting
  and setting fire to McDonalds (always wanted to do that) and
  probably not reading email anyway.                     -- Dan Barlow