[Python-checkins] python/dist/src/Misc NEWS,1.735,1.736

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Sat, 19 Apr 2003 11:15:39 -0700


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

Modified Files:
	NEWS 
Log Message:
- bool() called without arguments now returns False rather than
  raising an exception.  This is consistent with calling the
  constructors for the other builtin types -- called without argument
  they all return the false value of that type.  (SF patch #724135)
  Thanks to Alex Martelli.


Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.735
retrieving revision 1.736
diff -C2 -d -r1.735 -r1.736
*** NEWS	19 Apr 2003 18:04:54 -0000	1.735
--- NEWS	19 Apr 2003 18:15:04 -0000	1.736
***************
*** 13,16 ****
--- 13,21 ----
  -----------------
  
+ - bool() called without arguments now returns False rather than
+   raising an exception.  This is consistent with calling the
+   constructors for the other builtin types -- called without argument
+   they all return the false value of that type.  (SF patch #724135)
+ 
  - In support of PEP 269 (making the pgen parser generator accessible
    from Python), some changes to the pgen code structure were made; a