[PyKDE] Connect syntax.

Bryan O'Sullivan bos at serpentine.com
Thu Sep 23 17:49:57 BST 2004


On Thu, 2004-09-23 at 18:32 +0200, Sundance wrote:

> The Principle of Least Surprise, I suppose. I'll venture that Phil's 
> clients are in good part people who already know Qt and are moving to 
> Python. It would not be very good marketing to surprise them with 
> significant API changes, I suppose.

Nah, I don't buy that.  Anyone who thinks that

        foo.emit(PYSIGNAL('ugh'), ('maggots', 'worms'))

is a sharper marketing move than

        foo.emit('yum', 'pleasant', 'thoughts')

has a case of severely interesting perspective.

I suspect the real reason behind what oddities there are in the current
API is that it was harder to do what my wee wrapper does back in the
golden days of Python 1.5.x, and the API has, understandably enough,
remained backwards compatible ever since.

> Also, I like your wrapper script. Can I use it in my own code, and what 
> license does it come under?

Fire away.  Public domain.

	<b




More information about the PyQt mailing list