[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>
<https://bugs.pypy.org/issue848>
________________________________________


More information about the pypy-issue mailing list