On 29/03/07, Armin Rigo <[EMAIL PROTECTED]> wrote:
> 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"...

Well, if you write str([x]) then x.__str__() will certainly not be called :-)

Cheers,
mwh
(str([x]) will call x.__repr__())

(sorry)
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to