Hi all,

i think i found a bug in sipRegisterModule(...). I'm using Sip 3.8. I have a
program which uses embedded python. It allocates several independent
interpreters with Py_NewInterpreter.

Now, if more than one interpreter imports the qt module, the program hangs
in an endless loop inside siplib.c/findClass(...). This is because the
modulesList->md_next is pointing to modulesList.

I suggest to change sipRegisterModule to insert the module to be registered
only, if it isn't already in modulesList.

Christoph

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to