<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div><div>Hi all,</div><div>the proposed patch is a follow-up to the Python script defining an "import" command.</div><div>This one patch introduces a new "command script import" with equivalent semantics, but implemented in C++ through ScriptInterpreterPython and not cluttering the root namespace, as Jim was suggesting.</div><div>Also as an addition, modules imported through "command script import" can define an __lldb_init_module(SBDebugger,session_dict) function that is called after import-ing the new module. The included test case (I put it in python_api/import, but if this is not the best location, I can easily fix that) also provides an example of how to use the feature.</div><div><br></div><div>Any feedback and ideas for improvements are, as usual, most welcome.</div><div><br></div><div>Sincerely,<br><div apple-content-edited="true">
<div>-<span class="Apple-converted-space"> </span><i>Enrico Granata</i></div>
</div>
<br></div></body></html>