summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-04-19 18:15:10 (GMT)
committerGuido van Rossum <guido@python.org>2003-04-19 18:15:10 (GMT)
commitaa86e35c524275e1f6cca91c1f8fcfc15e8d8b30 (patch)
tree09a2231543fb1f83d759ee5bfa41bca0a88d500a /Misc
parenta26854095be67418bc89eff4874b32e33d7e5bf6 (diff)
downloadcpython-aa86e35c524275e1f6cca91c1f8fcfc15e8d8b30.zip
cpython-aa86e35c524275e1f6cca91c1f8fcfc15e8d8b30.tar.gz
cpython-aa86e35c524275e1f6cca91c1f8fcfc15e8d8b30.tar.bz2
- 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.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index a90c8fc..a637100 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,11 @@ What's New in Python 2.3 beta 1?
Core and builtins
-----------------
+- 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
few files that used to be linked only with pgen are now linked with