paramiko/paramiko — pull request #216 by mwilliamson (2013-09-29 17:12:34+00:00)
Title: Convert various classes into context managers

This converts several classes into context managers (see issue #38):

* `SFTPClient`
* `Channel`
* `Transport`
* `ProxyCommand`
* `BufferedFile`
* `SFTPHandle`
* `SSHClient`

Tests have been added where doing so was straightforward, but the implementation is sufficiently straightforward that I think there's relatively little risk.