[Python-checkins] python/dist/src/Misc NEWS,1.403,1.404

loewis@sourceforge.net loewis@sourceforge.net
Wed, 08 May 2002 01:44:23 -0700


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

Modified Files:
	NEWS 
Log Message:
Patch #552433: Special-case tuples. Avoid sub-type checking for lists.
Avoid checks for negative indices and duplicate checks for support of
the sequence protocol.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.403
retrieving revision 1.404
diff -C2 -d -r1.403 -r1.404
*** NEWS	7 May 2002 20:58:03 -0000	1.403
--- NEWS	8 May 2002 08:44:21 -0000	1.404
***************
*** 193,196 ****
--- 193,200 ----
  C API
  
+ - Added new macro PySequence_ITEM(o, i) that directly calls
+   sq_item without rechecking that o is a sequence and without
+   adjusting for negative indices.
+ 
  - PyRange_New() now raises ValueError if the fourth argument is not 1.
    This is part of the removal of deprecated features of the xrange