[PyQt] why not replace QByteArray with Python's bytes ?
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.
> PyQt mailing list PyQt at riverbankcomputing.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt