[Python-il] Statically analyzing a Python module to find assignments
udioron at gmail.com
Wed Apr 20 19:47:57 IDT 2011
On Fri, Apr 15, 2011 at 12:45 PM, cool-RR <cool-rr at cool-rr.com> wrote:
> And I want GarlicSim to be able to get all of these things: The docstring,
> the name, the tags and the version. And I want to show them in this widget<http://dl.dropbox.com/u/1927707/SimpackSelectionDialog.png>.
> But I want to do it without importing the module, because `__init__.py`
> might import the entire package which can be heavy. (I want to do this
> process for many heavy simpacks.)
Since these are SimPacks and not arbitrary modules, how about writing in the
docs "GarlicSim will import your module, don't do anything heavy in your
(And maybe even inject a *__garlicsim_tsating__* flag to the module)
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-il