[PyQt] Qt v5.9.2 Support

Florian Bruhin me at the-compiler.org
Sun Oct 15 00:06:42 BST 2017


Hey,

On Sun, Oct 08, 2017 at 09:07:38AM +0000, Phil Thompson wrote:
> The current PyQt5 and related snapshots now fully support Qt v5.9.2. However
> I won't be making a formal release for 2 or 3 weeks.

Did you consider offering snapshots as wheels as well, in some automated way?
Or providing a tool to convert a snapshot + Qt binary install to a wheel?

In some earlier mail you mentioned a tool to create wheels is available for
commercial users IIRC - however, I don't need the commercial license for any
other reason than that (since I'm using PyQt for opensource software only).

> There are some changes in the conversions of enums which means that invalid
> values can now raise an exception. If you are using correct values then you
> shouldn't see any difference.

I'm not sure I follow - can you show an example of a line which didn't raise an
exception before but does now?  Something like Qt.Alignment(1337)? Or passing
a value which isn't in that enum to a method taking an enum?

> PyQt has always ignored overflows when converting between Python ints and
> C/C++ integer types and the results of such conversions can be unpredictable
> in some cases. The sip module now implements enableoverflowchecking() which
> means that exceptions will be raised if a Python int is too large to fit in
> the corresponding C/C++ type. This behaviour will become the default in a
> future version of PyQt.

I really appreciate that! Turned it on right away :)
https://github.com/qutebrowser/qutebrowser/commit/8d34d4d4f5e965ffaea571ef0a08fc2df15935aa

Florian

-- 
https://www.qutebrowser.org  | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072  | https://the-compiler.org/pubkey.asc
         I love long mails!  | https://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20171015/c1559df4/attachment.sig>


More information about the PyQt mailing list