> When subclassing QIODevice, I noticed (with a look at qiodevice.sip) that > readBlock method must return a tuple with a string. I would expect this > method to return a string. But my knowledge of sip/PyQt is not enough to > say > if it is a bug or not.
It's not a bug - it returns a tuple of the length of the data and the data itself. I agree it could be made more Pythonic - just return the data as you suggest (maybe PyQt4). Phil _______________________________________________ PyKDE mailing list [email protected] http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
