[Python-checkins] CVS: python/dist/src/Misc NEWS,1.224,1.225

Tim Peters tim_one@users.sourceforge.net
Mon, 03 Sep 2001 01:35:43 -0700


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

Modified Files:
	NEWS 
Log Message:
New restriction on pow(x, y, z):  If z is not None, x and y must be of
integer types, and y must be >= 0.  See discussion at
http://sf.net/tracker/index.php?func=detail&aid=457066&group_id=5470&atid=105470


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.224
retrieving revision 1.225
diff -C2 -d -r1.224 -r1.225
*** NEWS	2001/09/03 05:47:38	1.224
--- NEWS	2001/09/03 08:35:40	1.225
***************
*** 4,7 ****
--- 4,13 ----
  Core
  
+ - The 3-argument builtin pow() no longer allows a third non-None argument
+   if either of the first two arguments is a float, or if both are of
+   integer types and the second argument is negative (in which latter case
+   the arguments are converted to float, so this is really the same
+   restriction).
+ 
  - The builtin dir() now returns more information, and sometimes much
    more, generally naming all attributes of an object, and all attributes