commit | 17689991e6ef5831eae57b2e91f178256d6d3ccb | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Aug 24 03:26:23 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Aug 24 03:26:23 2010 +0000 |
tree | 21a954c86d8f461ecc06d8c6de8880429c6e97ec | |
parent | 9cf5ef4cc0015848ef831db31b19c77e6a4273e0 [diff] [blame] |
only catch AttributeError in hasattr() #9666
diff --git a/Misc/NEWS b/Misc/NEWS index 944df93..5d23464 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -12,6 +12,9 @@ Core and Builtins ----------------- +- Issue #9666: Only catch AttributeError in hasattr(). All other exceptions that + occur during attribute lookup are now propagated to the caller. + - Issue #8622: Add PYTHONFSENCODING environment variable to override the filesystem encoding.