commit | 6bb9989ae38cd2610e661d6e8899ef58dd9562e3 | [log] [tgz] |
---|---|---|
author | R. David Murray <rdmurray@bitdance.com> | Sat Nov 20 16:33:30 2010 +0000 |
committer | R. David Murray <rdmurray@bitdance.com> | Sat Nov 20 16:33:30 2010 +0000 |
tree | 3f91b1c8de11bbd1a218d39caf36c0997f5b9cf5 | |
parent | f149e45a4e3311c2eb6ce63aa0b00b6dcacf01f5 [diff] [blame] |
#1574217: only swallow AttributeErrors in isinstance, not everything. Patch and tests by Brian Harring, with improvements by Ralf Schmitt.
diff --git a/Misc/NEWS b/Misc/NEWS index cb0e19d..76bf481 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -10,6 +10,9 @@ 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.