commit | 60a1d3cd152e9340727409ee48372a7cbc31a16f | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Thu Nov 05 13:55:20 2015 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Thu Nov 05 13:55:20 2015 +0100 |
tree | 954863451144085e18cb0a65bb4c146849dfe730 | |
parent | 4d11a94fb66ecf4d1f12d0f314d9e1f6dc3e756a [diff] |
Issue #25556: Fix LOAD_GLOBAL bytecode when globals type is not dict and the requested name doesn't exist in globals: clear the KeyError exception before calling PyObject_GetItem(). Fail also if the raised exception is not a KeyError.