[PyKDE] Importing sip-generated module into multiple interpreters

Nigel Stewart ns at fluent.com
Wed Sep 7 00:33:46 BST 2005


> If you use the Python API to import the module then the init function will 
> only be called once, no matter how many times it is imported. You were 
> calling the init function explicitly.

	We prefer to link our module statically, rather than
	as a .pyd, that's why we rely on the explicit init.
	We would prefer to leave things this way, but
	we'll do some experiments to avoid the explicit
	initialisation.

Nigel




More information about the PyQt mailing list