[paramiko] [MERGE] Add bufsize to SSHClient.exec_command
Dwayne Litzenberger
dwayne at oscl.ca
Thu Dec 6 11:55:17 PST 2007
This patch adds a "bufsize" argument to SSHClient.exec_command.
Note that, from what I can tell (I haven't delved into the workings of
BufferedFile too much), BufferedFile._set_mode currently behaves identically
when given bufsize=0 (unbuffered) and bufsize=-1 (system default). The
result is that chan.makefile('wb') returns a ChannelFile instance with _no_
buffering, contrary to what one might expect.
Cheers!
--
Dwayne Litzenberger, B.A.Sc.
Information Technology Analyst
Open Systems Canada Limited
1627 Broad Street
Regina, SK S4P1X3
Office: 306.359.6725
http://www.oscl.ca/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: paramiko-sshclient-execcommand-bufsize.bundle
Type: text/x-diff
Size: 3141 bytes
Desc: not available
Url : http://www.lag.net/pipermail/paramiko/attachments/20071206/a058e650/attachment.diff
More information about the paramiko
mailing list