Hi Kostas,

On Tue, Jan 26, 2010 at 5:43 AM, Kostas Georgiou <[email protected]> wrote:

> Hi,
> i would like to digg into pydev code for creating the option of having a
> threaded jython interpreter for the interactive console and for the
> completion server. So I think instead of firing a process we could start a
> thread monitoring a stream or caliing one's another method. this could only
> be a choice for jython as it is java. Last time, some time ago, I checked
> the source code, the completion server was in pycompletionserver.py, as it
> was universal for all implementations of python. So which files you think I
> should check??
>
> The problem with this approach is more on console, as it has to be one
> specific version of jython interpreter enabled every time. Maybe in
> completion it can be overcome. But as far as I am concerned I don't care
> about different versions. So are you interested in such a feature? Probably
> the console and completion will be a lot faster as a thread, don't you
> think?
>
>
So, that would be more for speed right? I must say that I'm not sure that
this approach is feasible because when you're gathering completions, you
actually want to use a different Python or Jython interpreter (and not embed
all into the Eclipse VM), and making it a Thread you wouldn't have access to
that.

What do you think?

Cheers,

Fabio
------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
pydev-code mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pydev-code

Reply via email to