Skip to content

SSHReader: Handle the asyncio.CancelledError internally #607

@Kentzo

Description

@Kentzo

Would be nice if asyncssh.StreamReader.readuntil handled asyncio.CancelledError by inserting an instance of asyncio.IncompleteReadError in the exception chain so that one could get the partial read without resorting to byte-by-byte reading via asyncssh.StreamReader.read

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions