[PyQt] Incompatible Sip module version crashes Python
phil at riverbankcomputing.com
Mon Sep 26 21:42:22 BST 2011
On Mon, 26 Sep 2011 14:18:57 -0500, "Jim Crowell" <jaclists at mailbolt.com>
> Over the last few months I've been upgrading a number of applications
> from bindings created with SIP 4.7.3 to 4.12.2.
> I notice that if I run such an app using the new bindings and it finds
> the old SIP api module (sip.pyd on Windows), Python crashes.
> I've added a bit of code to the Python wrapper module to explicitly
> import sip and check sip.SIP_VERSION_STR against a required version, so
> I can have it raise an exception and print an informative error message
> instead of just crashing.
> It would be nice if SIP behaved that way...
It does something similar - it's just that you are coming from such an old
More information about the PyQt