<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I have checked in the changes.<div>I will definitely try to centralize the locking code. I will keep you up to date as I make progress on this.<div><br></div><div>Thanks,</div><div><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Euclid; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>-<span class="Apple-converted-space"> </span><i>Enrico Granata</i></div></span>
</div>
<div><br><div><div>On Oct 17, 2011, at 11:42 PM, Jim Ingham wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>That looks good, check it in.  If you have the time to centralize the code that locks what needs locking for Python, that would be great.  This sounds like the sort of thing that might not stay the same over time, so it would be good to have it in one place.<br></div></blockquote></div><div><br></div><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;">Author: enrico</div><div>Date: Mon Oct 17 16:45:27 2011<br>New Revision: 142283<br><br>URL: <a href="http://llvm.org/viewvc/llvm-project?rev=142283&view=rev">http://llvm.org/viewvc/llvm-project?rev=142283&view=rev</a><br>Log:<br>this patch introduces a new command script import command which takes as input a filename for a Python script and imports the module contained in that file. the containing directory is added to the Python path such that dependencies are honored. also, the module may contain an __lldb_init_module(debugger,dict) function, which gets called after importing, and which can somehow initialize the module's interaction with lldb</div></blockquote><br></div></div></div></body></html>