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:
...
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:
class Point:
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 style that's used in the Python
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:
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 Python tutorial in the