[Python-checkins] python/dist/src/Misc NEWS,1.422,1.423

mwh@users.sourceforge.net mwh@users.sourceforge.net
Tue, 11 Jun 2002 03:55:13 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv9709/Misc

Modified Files:
	NEWS 
Log Message:
This is my nearly two year old patch

[ 400998 ] experimental support for extended slicing on lists

somewhat spruced up and better tested than it was when I wrote it.

Includes docs & tests.  The whatsnew section needs expanding, and arrays
should support extended slices -- later.



Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.422
retrieving revision 1.423
diff -C2 -d -r1.422 -r1.423
*** NEWS	11 Jun 2002 06:22:31 -0000	1.422
--- NEWS	11 Jun 2002 10:55:10 -0000	1.423
***************
*** 7,10 ****
--- 7,14 ----
  Core and builtins
  
+ - Most builtin sequences now support "extended slices", i.e. slices
+   with a third "stride" parameter.  For example, "range(10)[1:6:2]"
+   evaluates to [1, 3, 5].
+ 
  - Cycles going through the __class__ link of a new-style instance are
    now detected by the garbage collector.