[sage-devel] Re: __repr__ and Python docs

2008-01-18 Thread Ondrej Certik
> > Just to add to this. Python is a good choice for Sage because we don't > want to write a language from scratch (like _every_ single other serious > computer algebra system did). But I emphatically don't think that this > means Sage has to follow every single Python rule or convention. Defi

[sage-devel] Re: __repr__ and Python docs

2008-01-18 Thread William Stein
On Jan 18, 2008 9:36 AM, Nick Alexander <[EMAIL PROTECTED]> wrote: > > > On 18-Jan-08, at 8:59 AM, Martin Albrecht wrote: > > > > > I just came across: > > > > http://docs.python.org/ref/customization.html > > > > where it reads: > > > > """ > > Called by the repr() built-in function and by stri

[sage-devel] Re: __repr__ and Python docs

2008-01-18 Thread William Stein
On Jan 18, 2008 8:59 AM, Martin Albrecht <[EMAIL PROTECTED]> wrote: > > I just came across: > > http://docs.python.org/ref/customization.html > > where it reads: > > """ > Called by the repr() built-in function and by string conversions (reverse > quotes) to compute the ``official'' string repre

[sage-devel] Re: __repr__ and Python docs

2008-01-18 Thread Nick Alexander
On 18-Jan-08, at 8:59 AM, Martin Albrecht wrote: > > I just came across: > > http://docs.python.org/ref/customization.html > > where it reads: > > """ > Called by the repr() built-in function and by string conversions > (reverse > quotes) to compute the ``official'' string representation of