On Thu, 6 Oct 2011 15:08:01 -0700 (PDT)
"Edward K. Ream" <[email protected]> wrote:

> On Oct 6, 3:38 pm, Terry Brown <[email protected]> wrote:
> 
> > t = threading.Thread(target=leo.run)
> > t.start()
> 
> Yes! Moreover, stdout now goes to the console, as expected.
> 
> Do you think Blender could communicate with Leo in the other thread?

Sure, using Queue or something thread safe like that:

http://docs.python.org/py3k/library/queue.html#module-queue

but that might be kind of painful.  Not sure what would happen with
just regular access to variables not specifically designed to be thread
safe.

Cheers -Terry

> This reminds me that it is time to update the ipython plugin, which
> only works with Python 2.x and (I think) a "maintenance" release of
> IPython.
> 
> Edward
> 

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en.

Reply via email to