[pypy-dev] special methods

Armin Rigo arigo at tunes.org
Thu Mar 29 19:23:37 CEST 2007

Hi Christian,

On Thu, Mar 29, 2007 at 07:16:36PM +0200, Christian Tismer wrote:
> Shortly put: anything that needs to seriously change the annotator
> should not be considered. Some syntactic sugar does not hurt.
> You think even that makes no sense, right? At least it should not  
> hurt...

I think it hurts because it's obscure to describe: "you can write str(x)
and x.__str__() will be called, but if you write str([x]) then
x.__str__() will not be called"...

I'm always open to the possibility that there are use cases where such a
hack would be enough, though.

A bientot,


More information about the Pypy-dev mailing list