Skip to content

Conversation

MartinNowak
Copy link

@MartinNowak MartinNowak commented Aug 28, 2025

@MartinNowak MartinNowak requested a review from pkittenis as a code owner August 28, 2025 14:22
@pkittenis
Copy link
Member

Hello,

Thanks for the interest.

What is this PR for? SFTPHandle.closed is already a public attribute.

@MartinNowak
Copy link
Author

MartinNowak commented Sep 3, 2025

What is this PR for? SFTPHandle.closed is already a public attribute.

The cdef bint closed attribute does not seem to be visible on the Python side, preventing certain usages of an SFTPHandle as file. Also apparently cpdef does not support bint attribute.

import ssh2.sftp_handle
ssh2.sftp_handle.SFTPHandle(None).closed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants