On Windows, ubuntuone.platform.is_link expects an encoded byte string, not Unicode. On Linux, this is a straight pass-through to os.path.islink which will happily accept either bytes or Unicode.
On Windows, ubuntuone. platform. is_link expects an encoded byte string, not Unicode. On Linux, this is a straight pass-through to os.path.islink which will happily accept either bytes or Unicode.