[Python-checkins] python/dist/src/Misc NEWS,1.400,1.401

fdrake@sourceforge.net fdrake@sourceforge.net
2002年5月02日 14:28:30 -0700


Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv10349/Misc
Modified Files:
	NEWS 
Log Message:
Added notes related to the removal of deprecated features of the xrange type.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.400
retrieving revision 1.401
diff -C2 -d -r1.400 -r1.401
*** NEWS	2 May 2002 21:17:00 -0000	1.400
--- NEWS	2 May 2002 21:28:26 -0000	1.401
***************
*** 7,10 ****
--- 7,15 ----
 Core and builtins
 
+ - Deprecated features of xrange objects have been removed as
+ promised. The start, stop, and step attributes and the tolist()
+ method no longer exist. xrange repetition and slicing have been
+ removed.
+ 
 - New builtin function enumerate(x), from PEP 279. Example:
 enumerate("abc") is an iterator returning (0,"a"), (1,"b"), (2,"c").
***************
*** 182,185 ****
--- 187,194 ----
 
 C API
+ 
+ - PyRange_New() now raises ValueError if the fourth argument is not 1.
+ This is part of the removal of deprecated features of the xrange
+ object.
 
 - PyNumber_Coerce() and PyNumber_CoerceEx() now also invoke the type's

AltStyle によって変換されたページ (->オリジナル) /