[PyQt] Next Releases of SIP and PyQt

Phil Thompson phil at riverbankcomputing.co.uk
Tue Jul 24 22:25:41 BST 2007


On Tuesday 24 July 2007 9:54 pm, Torsten Marek wrote:
> Phil Thompson schrieb:
> > The next major releases of SIP and PyQt4 will be made this week
> > (hopefully).
> >
> > Is there anything I've forgotten in the current snapshots?
>
> Hi Phil,
>
> just one question - (sorry for being too lazy to check right now): Is a
> failing import in the new composite module handled gracefully? I.e. does a
> missing module cause the whole import to fail? In the old PyQt versions, I
> had patched Qt.py to handle ImportErrors from missing modules, since Debian
> ships PyQt's QtOpenGl and QtSql in seperate packages (reflecting the C++
> library packages).

>From the generated source...

    /*
     * Note that we don't complain if the module can't be imported.  This
     * is a favour to Linux distro packagers who like to split PyQt into
     * different sub-packages.
     */

...of course it may be buggy as I haven't tested it.

Phil



More information about the PyQt mailing list