[pypy-issue] [issue848] When calling 'dir', KeyError is incorrectly propagated

Henry Ludemann tracker at bugs.pypy.org
Fri Aug 26 11:27:58 CEST 2011


New submission from Henry Ludemann <misc at hl.id.au>:

In cPython, when calling 'dir' on an object that raises 'KeyError' from
'__getattr__, the exception is not propagated to client code. In pypy the
exception must be handled by client code.

----------
files: test2.py
messages: 3023
nosy: henryl, pypy-issue
priority: bug
status: unread
title: When calling 'dir', KeyError is incorrectly propagated

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue848>
________________________________________


More information about the pypy-issue mailing list