Repository navigation
v0.1.1
Changed
- Reading a directory as a file (
read_bytes(),read_text(), a read of
open("rb")) raisesIsADirectoryError(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 anOSError("Failure")with noerrno.open()itself
still succeeds on those servers. Code that caught the bareOSErrorstill
catches it; code that read a directory and got empty content now gets the
error.
Full Changelog: v0.1.0...v0.1.1