[PyQt] why not replace QByteArray with Python's bytes ?

Alan Ezust alan.ezust at gmail.com
Thu Jan 1 16:52:36 GMT 2015

Is there a list somewhere of which QVariant-supported Qt value types are
available in PyQt5 and which ones are auto-converted to corresponding
Python types, and which Python types those are?

On Mon, Dec 29, 2014 at 1:54 AM, Phil Thompson <phil at riverbankcomputing.com>

> On 29/12/2014 9:14 am, iMath wrote:
>> why not replace QByteArray with Python's bytes ?‍
> I assume you mean bytearray not bytes (which isn't mutable).
> They can be very large which would mean lots of memory copies. That's an
> entirely subjective opinion, nobody has done any measurements.
> Besides as QByteArray implements the buffer and sequence protocols they
> are prety interchangeable anyway.
> Phil
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150101/36b8a0b0/attachment.html>

More information about the PyQt mailing list