[pyshell] recapping/extending discussions
holger krekel
hpk@trillke.net
Tue, 13 Jan 2004 13:51:01 +0100
Hi together,
just a side note ...
[Armin Rigo Tue, Jan 13, 2004 at 12:03:41PM +0000]
> As long as we are only using Python, the "code object" protocol seems to be
> the most flexible one we can dream about. In its most simple form, the UI
> sends a custom server inside of the server process, and then communicates with
> this custom server using whatever protocol it wants. This is probably not too
> different from having a regularly loaded module in the server process that
> does the same thing, but it is just cooler :-)
you might want to checkout
http://codespeak.net/svn/user/hpk/remotecode
and perform the README steps to get some idea of how such a "remote
code" protocol basically and simply works in few lines of code.
Actually it does quite what Armins says above (sending a new server
to a minimal server which then accepts a shell-connection etc.pp)
cheers,
holger