Hi,

On Sun, Nov 27, 2016 at 03:16:36PM +0000, PICCA Frederic-Emmanuel wrote:
> > The QFontDatabase method will definitely not work properly without a
> > Q(Gui)Application instance.
>
> thanks for this analyze.
>
> so if I understand correctly, the problem is in the QFontDatabse method
> which should raise an exception instead of segfaulting.
>
> right ?
>
> so I should clone this bug and assign it to python{3}-pyqt5
> sice it is a segfault maybe the culprite is  around sip...

No. This has nothing to do with PyQt5. The C++ code using Qt Gui classes
without a Q(Gui)Application will also crash. That is an expected behavior.

Such code should not be run on module *import* time, it should be run
when the spyder code is first *used*.

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to