[pypy-issue] [issue1158] Different in custom list casting

Armin Rigo tracker at bugs.pypy.org
Thu Jun 7 10:23:56 CEST 2012

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

That's a detail of CPython's implementation.  For example, if instead of raising
Exception you would raise AttributeError or TypeError, then CPython would eat it
and thus would behave the same as PyPy.  It is called by _PyObject_LengthHint().
 In case of PyPy, __len__() is not called at all.

nosy: +arigo
status: unread -> wontfix

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

More information about the pypy-issue mailing list