Skip to content

Allow any buffer type to be sent to Channel (1.17) - #970

Closed
bz2 wants to merge 4 commits into
paramiko:1.17from
bz2:1.17_Channel_write_buffers
Closed

bz2 wants to merge 4 commits into
paramiko:1.17from
bz2:1.17_Channel_write_buffers

Conversation

@bz2

@bz2 bz2 commented May 25, 2017

Copy link
Copy Markdown
Contributor

Fixes #968

Changes the behaviour of the underlying asbytes helper to pass along unknown types. Most callers already handle this by passing the bytes along to a file or socket-like object which will raise TypeError anyway.

Adds test coverage through the Transport implementation.

bz2 added 4 commits May 25, 2017 20:35
Fixes paramiko#968

Changes the behaviour of the underlying asbytes helper to
pass along unknown types. Most callers already handle this
by passing the bytes along to a file or socket-like object
which will raise TypeError anyway.

Adds test coverage through the Transport implementation.

Change against the 1.17 branch.
bz2 added a commit to bz2/paramiko that referenced this pull request May 26, 2017
Fixes paramiko#967 paramiko#968

Rollup of earlier branches proposed as paramiko#969 and paramiko#970 with
additional fix inside sftp_client.

Includes new tests for SFTPFile usage.

Change against the 1.17 branch.
@bitprophet

Copy link
Copy Markdown
Member

Rolling into the final PR. Thanks!

@bitprophet bitprophet closed this May 31, 2017
bitprophet pushed a commit that referenced this pull request Jun 9, 2017
Fixes #967 #968

Rollup of earlier branches proposed as #969 and #970 with
additional fix inside sftp_client.

Includes new tests for SFTPFile usage.

Change against the 1.17 branch.
dkhapun pushed a commit to cyberx-labs/paramiko that referenced this pull request Jun 7, 2018
Fixes paramiko#967 paramiko#968

Rollup of earlier branches proposed as paramiko#969 and paramiko#970 with
additional fix inside sftp_client.

Includes new tests for SFTPFile usage.

Change against the 1.17 branch.
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