<html><head><meta name="qrichtext" content="1" /></head><body style="font-size:12pt;font-family:Courier New">
<p>Hi Detlev,</p>
<p></p>
<p>When running a script (using F2) that creates a threading.Thread, I get the following error in the Python-Shell when I call the thread's start():</p>
<p></p>
<p>Unhandled exception in thread started by <bound method DebugThread.bootstrap of <DebugThread.DebugThread instance at 0x421b03ec>></p>
<p></p>
<p>The following snippet of code should reproduce the problem:</p>
<p></p>
<p><<<</p>
<p>from threading import Thread</p>
<p></p>
<p>def run():</p>
<p> print "test"</p>
<p></p>
<p>t = Thread(target=run)</p>
<p>t.start()</p>
<p>>>></p>
<p></p>
<p>The error does not occur when I run the script from the commandline.</p>
<p></p>
<p>Thanks,</p>
<p>Gordon</p>
<p></p>
</body></html>