expose SFTPHandle.closed for IOBase API#223
expose SFTPHandle.closed for IOBase API#223MartinNowak wants to merge 1 commit intoParallelSSH:masterfrom
Conversation
|
Hello, Thanks for the interest. What is this PR for? |
The import ssh2.sftp_handle
ssh2.sftp_handle.SFTPHandle(None).closed |
The import ssh2.sftp_handle
ssh2.sftp_handle.SFTPHandle(None).closed |
Is there some example code that is not working or causing errors I can look at? Edit - here: This needs added as a test to check the changes work. Changes look good otherwise. |
|
Done in #226 . Can see why tests are needed in that PR. Just changing the internal property to public is not enough. |
io.IOBase.closed