[Python-au] Python New Class Features

Graeme Matthew graeme_matthew@hotmail.com
Fri, 17 Jan 2003 15:57:17 +1100


Hi All, wasnt expecting so much help so quickly ! thanks

My misunderstanding has now been corrected, I thought one had to use the new 
properties.

I am fine with that, while I normally like to 'hide' attributes that are 
private, I gues I can live with public attributes :-)

So would all of you agree that using slots to make sure the correct
attributes are accessed and no additional attributes would be the way to go 
?

eg

class Order(object):




_________________________________________________________________
MSN 8: advanced junk mail protection and 2 months FREE*. 
http://join.msn.com/?page=features/junkmail