[pypy-dev] special methods

Simon Burton simon at arrowtheory.com
Fri Mar 30 03:25:55 CEST 2007


On Fri, 30 Mar 2007 00:14:59 +0200
Christian Tismer <tismer at stackless.com> wrote:

> 
> On 29.03.2007, at 19:35, Armin Rigo wrote:
> 
> > Hi Simon,
> >
> > On Thu, Mar 29, 2007 at 10:18:06AM -0700, Simon Burton wrote:
> >> What is your concern here ? Does it screw up the JIT, or some  
> >> other aspect
> >> I am missing ?
> >
> > No, just the obscurity of these methods: the full Python
> > __add__/__radd__ semantics are more than a little tricky.
> 
> And no RPython programmer needs them.

Well... it's possible to extend the rtyper to do this. Without even
touching the pypy codebase. This is what we did with pypy.rpython.numpy .

Simon.



More information about the Pypy-dev mailing list