for reproduction, 2 files are needed, and PyQt4 and PyKDE4
must be installed.

Of course this code does not make too much sense. This
is the smallest example I was able to produce by reducing
the full source code.

pylint background.py triggers the segfault.

if you want a bug report in your database, please do that
for me.

qt5.py:
==============================
class QString(unicode):
    pass
from PyQt5.QtGui import QPixmapCache
==============================

background.py:
==============================
try:
    raise ImportError
    from qt5 import *
except ImportError as exc:
    from PyQt4.QtCore import QString
    from PyQt4.QtGui import QPixmapCache
from PyKDE4.kdecore import KStandardDirs

print("kmahjonggbackground", QString('abc'))

QPixmapCache.setCacheLimit(20480)
==============================


-- 
Wolfgang
_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to