Re: [PyQt] PyQt instances as method defaults eval to bool

2010-10-19 Thread Phil Thompson
On Mon, 18 Oct 2010 16:14:50 +0200, Hans-Peter Jansen h...@urpla.net wrote: Hi Phil, current sip and PyQt show some issues with PyQt instances, that are used as method defaults, e.g. the usual parent = QtCore.QModelIndex() in Qt's model/view paradigm. Run the

[PyQt] PyQt instances as method defaults eval to bool

2010-10-18 Thread Hans-Peter Jansen
Hi Phil, current sip and PyQt show some issues with PyQt instances, that are used as method defaults, e.g. the usual parent = QtCore.QModelIndex() in Qt's model/view paradigm. Run the itemviews/editabletreemodel.py example, select an item, and try to insert or remove a column. Results in