<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I have written what is effectively a debugger for 
Python written in 'C'/C++</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have used the PyEval_SetTrace() to set a trace 
handler and I use this to step through python code very nicely.</FONT></DIV>
<DIV><FONT face=Arial size=2>However, when I am part way through a file and want 
to save the (modified) file back to disk it seems to be locked</FONT></DIV>
<DIV><FONT face=Arial size=2>by Python interpreter.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>How can I stop the Python interpreter which is 
currently waiting for a return from the Trace function that I provided (the 
thread running Python is suspended).</FONT></DIV>
<DIV><FONT face=Arial size=2>Returning 0/1 from the Trace function doesn't seem 
to stop it - is there any other function that I should be calling 
first.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for any help for this newbie in 
Python.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Pete</FONT></DIV>
<BR>
This email and any attachments is confidential, may be legally privileged and is intended for the use of the addressee only. If you are not the intended recipient, please note that any use, disclosure, printing or copying of this email is strictly prohibited and may be unlawful. If received in error, please delete this email and any attachments and confirm this to the sender.<BR>
</BODY></HTML>