[pypy-dev] special methods

Simon Burton simon at arrowtheory.com
Wed Mar 28 20:19:44 CEST 2007


On Wed, 28 Mar 2007 19:54:35 +0200
Christian Tismer <tismer at stackless.com> wrote:

> 
> This looks good, congrats!
> 
> I had a different approach in mind which
> would work without explicitly adding a pass to the
> annotator, no idea which idea is more practical.
> 
> What I wanted to do is a tiny patch to flow space
> that allows to add little plugins for extension.
> My plugin would intercept things like str(...)
> during flowing, and rewrite accordingly. This is quite
> similar to what you did, but does things earlier.

Yes, this is what Richard suggested also, but don't we
need the annotation ? Otherwise we don't know when to intercept str(...).

That's why I do the pass after an annotation.

Simon.



More information about the Pypy-dev mailing list