Re: [python-tulip] Re: Soliciting feedback on AsyncSSH

2014-07-17 Thread Glyph
On Jul 17, 2014, at 7:28 AM, Ron Frederick wrote: > I have done quite a bit of manual testing of the code and I have written my > own automated test script which thoroughly exercises all of the key > import/export code trying all combinations of key types and formats at > various key sizes (o

[python-tulip] Quamash (Qt Event loop implementaion) version 0.3 released (first release worth using)

2014-07-17 Thread Mark Harviston
With the help of Arve Knudsen, Quamash now actually works. Quamash is an implementation of the asyncio event loop with a Qt backend. see: https://github.com/harvimt/quamash Feedback encouraged. I think the feature I'd really like next is getting this to work with say zmq and/or multiprocessing

Re: [python-tulip] Subprocess, socket pairs and pipes

2014-07-17 Thread Guido van Rossum
I don't like mapping the exceptions; just document them. I do like always using a socket pair. And being able to send EOF reliably sounds good! On Thu, Jul 17, 2014 at 4:53 AM, Victor Stinner wrote: > Hi, > > I have a few questions about subprocesses, socket pairs and pipes. > > > (1) use pipe

Re: [python-tulip] Re: Soliciting feedback on AsyncSSH

2014-07-17 Thread Glyph
On Jul 17, 2014, at 7:28 AM, Ron Frederick wrote: > One other challenge is that I wanted my key import/export tests to test > interoperability with other tools like openssl and ssh-keygen. However, that > meant the script had dependencies on those external tools being installed on > the syste

[python-tulip] Re: Soliciting feedback on AsyncSSH

2014-07-17 Thread Jonathan Slenders
For me, the built-in "unittest" library is good enough. There is a unittest.skipIf decorator to put around tests that should only run if you have certain dependencies. Le jeudi 17 juillet 2014 16:28:52 UTC+2, Ron Frederick a écrit : > > Hi Jonathan, > > I have done quite a bit of manual testi

[python-tulip] Re: Soliciting feedback on AsyncSSH

2014-07-17 Thread Ron Frederick
Hi Jonathan, I have done quite a bit of manual testing of the code and I have written my own automated test script which thoroughly exercises all of the key import/export code trying all combinations of key types and formats at various key sizes (over 700 different variations). However, I haven

[python-tulip] Re: Soliciting feedback on AsyncSSH

2014-07-17 Thread Jonathan Slenders
Thanks you Ron, That was already on my wish list for a while. twisted.conch is old and doesn't run on Python3 and Paramiko has a threaded model. But writing an SSH library takes a lot of effort to get it right. I leave on holiday tomorrow, so I don't have time to try it out. But do you actually

[python-tulip] Subprocess, socket pairs and pipes

2014-07-17 Thread Victor Stinner
Hi, I have a few questions about subprocesses, socket pairs and pipes. (1) use pipe() for stdin in _UnixSubprocessTransport? asyncio creates a socket pair for subprocesses instead of a "classic" pipe on UNIX. On AIX it is not possible to listen for read event on the write end of a pipe to be no