[Python-checkins] python/dist/src/Misc NEWS,1.721,1.722
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
Mon, 14 Apr 2003 13:58:46 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv887/Misc
Modified Files:
NEWS
Log Message:
- list.insert(i, x) now interprets negative i as it would be
interpreted by slicing, so negative values count from the end of the
list. This was the only place where such an interpretation was not
placed on a list index.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.721
retrieving revision 1.722
diff -C2 -d -r1.721 -r1.722
*** NEWS 14 Apr 2003 17:59:29 -0000 1.721
--- NEWS 14 Apr 2003 20:58:08 -0000 1.722
***************
*** 13,16 ****
--- 13,21 ----
-----------------
+ - list.insert(i, x) now interprets negative i as it would be
+ interpreted by slicing, so negative values count from the end of the
+ list. This was the only place where such an interpretation was not
+ placed on a list index.
+
- range() now works even if the arguments are longs with magnitude
larger than sys.maxint, as long as the total length of the sequence