summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-07-07 00:45:43 (GMT)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>2009-07-07 00:45:43 (GMT)
commit79fa5ab7b0744ab5b74ecf2de0a17ef604e0097e (patch)
treebaabcbcd2153799d2c9467ea019e6b519616d5df /Misc
parentc9722e56d502a353d91881b48a788ab2470886d9 (diff)
downloadcpython-79fa5ab7b0744ab5b74ecf2de0a17ef604e0097e.zip
cpython-79fa5ab7b0744ab5b74ecf2de0a17ef604e0097e.tar.gz
cpython-79fa5ab7b0744ab5b74ecf2de0a17ef604e0097e.tar.bz2
Merged revisions 73868 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r73868 | amaury.forgeotdarc | 2009-07-07 02:43:08 +0200 (mar., 07 juil. 2009) | 3 lines #6428: py3k requires that __bool__ return a bool (and not an int) Fix the error message and the documentation. ........
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 2f49fef..b37f18e 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,10 @@ What's New in Python 3.1.1?
Core and Builtins
-----------------
+- Issue #6428: Since Python 3.0, the __bool__ method must return a bool
+ object, and not an int. Fix the corresponding error message, and the
+ documentation.
+
- Issue #6347: Include inttypes.h as well as stdint.h in pyport.h.
This fixes a build failure on HP-UX: int32_t and uint32_t are
defined in inttypes.h instead of stdint.h on that platform.