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

Armin Rigo tracker at bugs.pypy.org
Fri Aug 26 11:33:51 CEST 2011

Armin Rigo <armin.rigo at gmail.com> added the comment:

This random eating of exceptions is generally an implementation detail:
http://doc.pypy.org/en/latest/cpython_differences.html#ignored-exceptions .

It may be the case that dir() explicitly eats exceptions for a reason.  If you
can point out some CPython doc that says so, then we'd change our mind and copy
this behavior.

nosy: +arigo
status: unread -> invalid

PyPy bug tracker <tracker at bugs.pypy.org>

More information about the pypy-issue mailing list