Re: [Numpy-discussion] basic python questions

2007-04-04 Thread Sebastian Haase
On 4/4/07, Bill Baxter <[EMAIL PROTECTED]> wrote: > On 4/5/07, Robert Kern <[EMAIL PROTECTED]> wrote: > > Bill Baxter wrote: > > > Ok, I got another hopefully easy question: > > > > > > Why this: > > > class Point(object): > > > ... > > > > > > Instead of the style that's used in the

Re: [Numpy-discussion] basic python questions

2007-04-04 Thread Alan G Isaac
On Wed, 04 Apr 2007, Eric Firing apparently wrote: > Key point: properties work with new-style classes but fail > silently and mysteriously with classic classes. Or making the same point a little more generally, descriptors only work for new-style classes: http://users.rcn.com/python/download/D

Re: [Numpy-discussion] basic python questions

2007-04-04 Thread Eric Firing
Robert Kern wrote: > Bill Baxter wrote: >> On 4/5/07, Robert Kern <[EMAIL PROTECTED]> wrote: >>> Bill Baxter wrote: Ok, I got another hopefully easy question: Why this: class Point(object): ... Instead of the style that's used in the Python tutorial

Re: [Numpy-discussion] basic python questions

2007-04-04 Thread Bill Baxter
On 4/5/07, Robert Kern <[EMAIL PROTECTED]> wrote: > Bill Baxter wrote: > > On 4/5/07, Robert Kern <[EMAIL PROTECTED]> wrote: > >> Bill Baxter wrote: > >>> Ok, I got another hopefully easy question: > >>> > >>> Why this: > >>> class Point(object): > >>> ... > >>> > >>> Instead of the s

Re: [Numpy-discussion] basic python questions

2007-04-04 Thread Robert Kern
Bill Baxter wrote: > On 4/5/07, Robert Kern <[EMAIL PROTECTED]> wrote: >> Bill Baxter wrote: >>> Ok, I got another hopefully easy question: >>> >>> Why this: >>> class Point(object): >>> ... >>> >>> Instead of the style that's used in the Python tutorial in the >>> 'classes' chapter:

Re: [Numpy-discussion] basic python questions

2007-04-04 Thread Bill Baxter
On 4/5/07, Robert Kern <[EMAIL PROTECTED]> wrote: > Bill Baxter wrote: > > Ok, I got another hopefully easy question: > > > > Why this: > > class Point(object): > > ... > > > > Instead of the style that's used in the Python tutorial in the > > 'classes' chapter: > > class Point: >