summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorR. David Murray <rdmurray@bitdance.com>2010-11-20 16:33:30 (GMT)
committerR. David Murray <rdmurray@bitdance.com>2010-11-20 16:33:30 (GMT)
commit6bb9989ae38cd2610e661d6e8899ef58dd9562e3 (patch)
tree3f91b1c8de11bbd1a218d39caf36c0997f5b9cf5 /Misc
parentf149e45a4e3311c2eb6ce63aa0b00b6dcacf01f5 (diff)
downloadcpython-6bb9989ae38cd2610e661d6e8899ef58dd9562e3.zip
cpython-6bb9989ae38cd2610e661d6e8899ef58dd9562e3.tar.gz
cpython-6bb9989ae38cd2610e661d6e8899ef58dd9562e3.tar.bz2
#1574217: only swallow AttributeErrors in isinstance, not everything.
Patch and tests by Brian Harring, with improvements by Ralf Schmitt.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/ACKS1
-rw-r--r--Misc/NEWS3
2 files changed, 4 insertions, 0 deletions
diff --git a/Misc/ACKS b/Misc/ACKS
index 3cb3a29..9c003e9 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -337,6 +337,7 @@ Barry Hantman
Lynda Hardman
Derek Harland
Jason Harper
+Brian Harring
Larry Hastings
Shane Hathaway
Rycharde Hawkes
diff --git a/Misc/NEWS b/Misc/NEWS
index cb0e19d..76bf481 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -10,6 +10,9 @@ What's New in Python 3.2 Beta 1?
Core and Builtins
-----------------
+- Issue #1574217: isinstance now catches only AttributeError, rather than
+ masking all errors.
+
- Issue #10391: Don't dereference invalid memory in error messages in the ast
module.