]> granicus.if.org Git - python/commitdiff
Add a note about bool.
authorGuido van Rossum <guido@python.org>
Thu, 4 Apr 2002 15:21:33 +0000 (15:21 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 4 Apr 2002 15:21:33 +0000 (15:21 +0000)
Misc/NEWS

index c852056eeee83945a6e64a4a020f1aef9d881f62..c2622f8ec913b1d8bc17fdc5770e8ab057b521f7 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -6,6 +6,12 @@ Type/class unification and new-style classes
 
 Core and builtins
 
+- A new built-in type, bool, has been added, as well as built-in
+  names for its two values, True and False.  Comparisons and sundry
+  other operations that return a truth value have been changed to
+  return a bool instead.  Read PEP 285 for an explanantion of why this
+  is backward compatible.
+
 - Fixed two bugs reported as SF #535905: under certain conditions,
   deallocating a deeply nested structure could cause a segfault in the
   garbage collector, due to interaction with the "trashcan" code;