From: Travis B. <tb...@my...> - 2005-01-23 08:25:30
|
Twisted's API documentation for ssh/scp, said that the current implementations were still unstable. Drat. I was hoping my project would be compatible with CPyton as well as Jython, but now I'm resigned to a Jython-only implemenation that uses the j2ssh libs. Thanks for following up with all my questions. -Travis On Jan 22, 2005, at 6:39 AM, Mark W. Alexander wrote: > On Fri, Jan 21, 2005 at 03:20:27PM -0800, Travis Bear wrote: >> Can't import signal: >> >> [travis@tiny ~]$ cd jython-2.1/ >> [travis@tiny jython-2.1]$ ./jython >> Jython 2.1 on java1.5.0 (JIT: null) >> Type "copyright", "credits" or "license" for more information. >>>>> import signal >> Traceback (innermost last): >> File "<console>", line 1, in ? >> ImportError: no module named signal >>>>> >> >> From the JYthon docs, it wasn't clear but I inferred that not all >> builtins are supported: >> http://www.jython.org/docs/differences.html >> >> Perhaps signal use can be avoided or redone? > > Not without significant effort. signal is used to reap child processes > and prevent zombies which is a natural consequence of pyssh being a > wrapper around the ssh binaries. > > Google seems to indicate that Java, hence Jython, does not support > signals > (http://aspn.activestate.com/ASPN/Mail/Message/Jython-users/687321), > although I can't get the answer to that post to load. > > A quick Google for "jython twisted" seems to indicate that Twisted has > at least some support for Jython. Maybe you should give Twisted's conch > module a look. I'd be interested in what you find. > > mwa > -- > Mark W. Alexander > sl...@do... > > The contents of this message authored by Mark W. Alexander are > released under > the Creative Commons Attribution-NonCommercial license. Copyright of > quoted > materials, if any, are retained by the original author(s). > > http://creativecommons.org/licenses/by-nc/2.0/ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting > Tool for open source databases. Create drag-&-drop reports. Save time > by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. > Download a FREE copy at http://www.intelliview.com/go/osdn_nl > _______________________________________________ > Pyssh-discuss mailing list > Pys...@li... > https://lists.sourceforge.net/lists/listinfo/pyssh-discuss > > > _________________________________________________ > Scanned on 22 Jan 2005 15:07:59 > |