Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4783446

Browse files
committed
Add a note about bool.
1 parent ce5df49 commit 4783446

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Misc/NEWS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ Type/class unification and new-style classes
66

77
Core and builtins
88

9+
- A new built-in type, bool, has been added, as well as built-in
10+
names for its two values, True and False. Comparisons and sundry
11+
other operations that return a truth value have been changed to
12+
return a bool instead. Read PEP 285 for an explanantion of why this
13+
is backward compatible.
14+
915
- Fixed two bugs reported as SF #535905: under certain conditions,
1016
deallocating a deeply nested structure could cause a segfault in the
1117
garbage collector, due to interaction with the "trashcan" code;

0 commit comments

Comments
 (0)