summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-12-30 19:34:10 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-12-30 19:34:10 (GMT)
commit0f02d3933bff50042dd914d5d17831af7093cf55 (patch)
tree68365aea879cae3caa8b4267e45922ec2fa49c18 /Misc
parentb7953f00b186baee159a2d5dfe1e80ca0ef00a29 (diff)
downloadcpython-0f02d3933bff50042dd914d5d17831af7093cf55.zip
cpython-0f02d3933bff50042dd914d5d17831af7093cf55.tar.gz
cpython-0f02d3933bff50042dd914d5d17831af7093cf55.tar.bz2
check if the attribute is set before deleting it with T_OBJECT_EX (fixes #7604)
Also, add a note to the docs about the better behavior of T_OBJECT_EX as compared to T_OBJECT.
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 3098505..87242b1 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.7 alpha 2?
Core and Builtins
-----------------
+- Issue #7604: Deleting an unset slotted attribute did not raise an
+ AttributeError.
+
- Issue #7534: Fix handling of IEEE specials (infinities, nans,
negative zero) in ** operator. The behaviour now conforms to that
described in C99 Annex F.