From: Guido van Rossum Date: Thu, 4 Apr 2002 15:21:33 +0000 (+0000) Subject: Add a note about bool. X-Git-Tag: v2.3c1~6144 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=47834463d0b6609986b291e3b1a085225118afd3;p=python Add a note about bool. --- diff --git a/Misc/NEWS b/Misc/NEWS index c852056eee..c2622f8ec9 100644 --- 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;