[PyKDE] Segfault in QGraphicsScene.drawItems

Arve Knudsen arve.knudsen at gmail.com
Sun Feb 25 14:30:31 GMT 2007


On 2/25/07, Phil Thompson <phil at riverbankcomputing.co.uk> wrote:
>
> On Sunday 25 February 2007 1:22 pm, Arve Knudsen wrote:
> > Now it's compiled, but I see that drawItems still receives the numItems
> > argument. Isn't this redundant considering that this is only the length
> of
> > the items list? Or is there a point in keeping it around to resemble the
> > C++ interface?
>
> There is no technical need to keep it - I was going for "least surprise".
> However, as you are obviously surprised then I failed :)
>
> I'll remove it in the next snapshot unless you disagree.
>

I don't know about others, but I don't see any compelling reason to keep
this parameter around in the Python interface. Thanks again. Hopefully I can
now finish porting the rest of this application prototype from C++ to Python
:)

Arve
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20070225/ecfc1dd1/attachment.html


More information about the PyQt mailing list