[pypy-issue] [issue886] unicode.translate behavior differs from CPython
Amaury Forgeot d Arc
tracker at bugs.pypy.org
Wed Sep 28 08:57:08 CEST 2011
Amaury Forgeot d Arc <amauryfa at gmail.com> added the comment:
CPython catches LookupError instead (the common base class for KeyError and
IndexError):
http://hg.python.org/cpython/file/8527427914a2/Objects/unicodeobject.c#l4849
----------
nosy: +afa
status: unread -> chatting
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue886>
________________________________________
More information about the pypy-issue
mailing list