Re: [PyQt] Running Python scripts from a SIP-wrapped library

2011-07-31 Thread Jens Thoms Toerring
Hi Matt; On Sat, Jul 30, 2011 at 04:49:07PM -0700, Matt Newell wrote: > My quick guess is that you should not be calling Py_NewInterpreter, but > instead wrap your calls into python code with > > SIP_BLOCK_THREADS > // Call python functions > SIP_UNBLOCK_THREADS > > These are just macros for ca

Re: [PyQt] Running Python scripts from a SIP-wrapped library

2011-07-30 Thread Matt Newell
On Saturday 30 July 2011 13:33:55 Jens Thoms Toerring wrote: > Hi, > >I guess this isn't the best place to ask but I haven't > found anything really fitting yet. So, please, if this is > too off-topic don't hesitate to redirect me to a better > place (a "RTFM" is also going to be appreciated a