[pypy-dev] Support for __getitem__ in rpython?

Armin Rigo arigo at tunes.org
Tue Dec 23 12:23:44 CET 2008

Hi Hakan,

On Mon, Dec 15, 2008 at 08:47:26PM +0100, Hakan Ardo wrote:
> cannot yet handle that the methods return NotImplemented. Would it be
> possible to handle that in a similar manner to how None is handled?

Not easily.  The annotation framework of PyPy was never meant to handle
the full Python language, but only a subset reasonable for writing
interpreters.  Anyway, None-or-integer is not supported either, simply
because there is no way to represent that in a single machine word.

A bientot,


More information about the Pypy-dev mailing list