commit | 23e018ab9893369e7669631af16016b83b0de09b | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sat Feb 27 17:40:01 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sat Feb 27 17:40:01 2010 +0000 |
tree | c9d25a600019030cee49f5c9390fd352b4cc59ff | |
parent | 8de42e2d50e9609ef4f9a656a0b8e1234db969ac [diff] [blame] |
only accept AttributeError as indicating no __prepare__ attribute on a metaclass, allowing lookup errors to propogate
diff --git a/Misc/NEWS b/Misc/NEWS index ee43e63..a04e068 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -12,6 +12,8 @@ Core and Builtins ----------------- +- Handle errors from looking up __prepare__ correctly. + - Issue #5939: Add additional runtime checking to ensure a valid capsule in Modules/_ctypes/callproc.c.