Fredrik Lundh wrote: > Bruno Desthuilliers wrote: > > >>>class fred : >>> @property >>> def joe (self) : >>> print "Inside /joe\n" >> >> >>properties dont work properly on old-style classes (lookup 'new-style >>classes' on python.org, in the documentation menu), hence the strange >>behaviour you observe. > > > property getters work just fine on old-style classes (setters and deleters > don't > work, but that's not what he's using).
Thanks - I was too lazy to actually reread all the doc or derive this from observation !-) -- bruno desthuilliers python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for p in '[EMAIL PROTECTED]'.split('@')])" -- http://mail.python.org/mailman/listinfo/python-list