[prev in list] [next in list] [prev in thread] [next in thread]
List: pykde
Subject: Re: [PyQt] Incompatible Sip module version crashes Python
From: Phil Thompson <phil () riverbankcomputing ! com>
Date: 2011-09-26 20:42:22
Message-ID: da13094f4b17cecb32e53c19987a8e52 () localhost
[Download RAW message or body]
On Mon, 26 Sep 2011 14:18:57 -0500, "Jim Crowell" <jaclists@mailbolt.com>
wrote:
> 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
version.
Phil
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic