Skip to content

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 16 Oct 16:57

Changed

  • Reading a directory as a file (read_bytes(), read_text(), a read of
    open("rb")) raises IsADirectoryError (EISDIR, with the remote path as
    filename) against servers that open a directory for reading, as OpenSSH
    does, on both backends. Against OpenSSH for Windows an unsized read returned
    b"" ("" in text mode); against OpenSSH on Linux, and for a sized read on
    Windows, it raised an OSError("Failure") with no errno. open() itself
    still succeeds on those servers. Code that caught the bare OSError still
    catches it; code that read a directory and got empty content now gets the
    error.

Full Changelog: v0.1.0...v0.1.1