Kalle Anke wrote: > On Sun, 12 Jun 2005 12:20:29 +0200, tiissa wrote > (in article <[EMAIL PROTECTED]>): > > > >>You can 'hide' you getsetters using a property attribute[1]: >> >>[1]http://docs.python.org/lib/built-in-funcs.html > > > Thanks, this is exactly what I was looking for > >
OTOH, I beseech you to consider an attitude transplant :-) I.e. put your effort into writing code that allows people to do useful things, rather than opaque guff full of __blahblah__ that stops them from doing dopey or evil things they're usually smart enough or righteous enough not to do anyway. BTW, what do you think of this: sys.maxint = -12345 Cheers & HTH, John -- http://mail.python.org/mailman/listinfo/python-list