Hi, attached is a minimal example that segfaults.
Note that the error occurs in the keyword argument handling. Using normal function arguments intead of keyword arguments makes the segfault going away, so I think this is an error with sip keyword argument handling. Regards, Bastian
from PyQt4 import Qsci, QtGui
class Test (Qsci.QsciScintilla):
def __init__ (self, parent=None):
# NO SEGFAULT
#super(Test, self).__init__(parent)
# SEGFAULT
super(Test, self).__init__(parent=parent)
def main ():
import sys
app = QtGui.QApplication(sys.argv)
e = Test()
if __name__ == "__main__":
main()
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/python-modules-team

