[PyQt] Method names from SIP-wrapped classes not showing in cProfile output

Håkon Bertheussen haakon.bertheussen at gmail.com
Thu May 21 22:48:56 BST 2009

> How methods are wrapped has changed. However it's just a question of giving
> sip.methoddescriptor a useful __repr__. What do you want it to say?
> Phil

Using my example, I think the previous behavior was that cProfile
would output "{built-in method fill}" for that call to QImage.fill().
I would be fine with getting that back, although I think something
like "PyQt4.QtGui.QImage.fill" would be even better.


More information about the PyQt mailing list