Skip to content

support buffer protocol in SFTPHandle.write - #244

Open
MartinNowak wants to merge 1 commit into
ParallelSSH:masterfrom
7Learnings:buffer_write
Open

MartinNowak wants to merge 1 commit into
ParallelSSH:masterfrom
7Learnings:buffer_write

Conversation

@MartinNowak

Copy link
Copy Markdown
  • read simple buffer view to support same behavior as IOBase.write

- read simple buffer view to support same behavior as IOBase.write
Comment thread ssh2/sftp_handle.pyx

@pkittenis pkittenis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks.

Would be good to also have other write functions, eg Channel.write, support buffer protocol, but can be separate changes.

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