[PyKDE] properties in SIP

Bjorn Pettersen BPettersen at narex.com
Tue May 7 21:57:00 BST 2002


> From: Phil Thompson [mailto:phil at river-bank.demon.co.uk] 
> 
> Bjorn Pettersen wrote:
> > 
> > Is there a way to do Python 2.2 properties with SIP (or read-only 
> > attributes in general)?
> 
> I haven't looked at exploiting the new features in Python 
> 2.2. I'd be interested to know which people would find 
> particularly useful.

Properties would make attribute access transparent for our end users so
a strong +1 on that from me (besides the CTO didn't like the idea that
he had to supply parens for every accessor call <wink>).

-- bjorn




More information about the PyQt mailing list