summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-04-04 15:21:33 (GMT)
committerGuido van Rossum <guido@python.org>2002-04-04 15:21:33 (GMT)
commit47834463d0b6609986b291e3b1a085225118afd3 (patch)
tree4ce890e17b97d8cf233407bfc0f6ca0f61bb3db9 /Misc
parentce5df49957bb53d3cf0605199b958201b2a8d6cc (diff)
downloadcpython-47834463d0b6609986b291e3b1a085225118afd3.zip
cpython-47834463d0b6609986b291e3b1a085225118afd3.tar.gz
cpython-47834463d0b6609986b291e3b1a085225118afd3.tar.bz2
Add a note about bool.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS6
1 files changed, 6 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index c852056..c2622f8 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;