summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-03-13 11:34:40 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2010-03-13 11:34:40 (GMT)
commitd59b41641e7f800a65f4241d05710b774cafa04f (patch)
tree1a859128a25416a27c391421f9cdae3676c240e3 /Misc
parentfe427fee6c77f2a2b8c7c1ad0fec14d8638a9db0 (diff)
downloadcpython-d59b41641e7f800a65f4241d05710b774cafa04f.zip
cpython-d59b41641e7f800a65f4241d05710b774cafa04f.tar.gz
cpython-d59b41641e7f800a65f4241d05710b774cafa04f.tar.bz2
Issue #8014: Fix PyLong_As<c-integer-type> methods not to produce an
internal error on non-integer input: they now raise TypeError instead. This is needed for attributes declared via PyMemberDefs.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 348d524..e40100b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 3.2 Alpha 1?
Core and Builtins
-----------------
+- Issue #8014: Setting a T_UINT or T_PYSSIZET attribute of an object with
+ PyMemberDefs could produce an internal error; raise TypeError instead.
+
- Issue #7845: Rich comparison methods on the complex type now return
NotImplemented rather than raising a TypeError when comparing with an
incompatible type; this allows user-defined classes to implement their own