I've implemented binary mode for the NFSFH object to make this library easier to use in python 3. The NFSFH object should still be fully backward compatible. Unfortunately, the mapped C-API is not compatible for the following functions:
libnfs.nfs_pread()
libnfs.nfs_read()
libnfs.nfs_pwrite()
libnfs.nfs_write()
libnfs.nfs_readlink()
The buffer argument for these functions now requires the bytearray type instead of a string, both in python2 and python3. I don't know if this is a deal breaker, but any feedback is welcome :)
Hi,
I've implemented binary mode for the NFSFH object to make this library easier to use in python 3. The NFSFH object should still be fully backward compatible. Unfortunately, the mapped C-API is not compatible for the following functions:
The buffer argument for these functions now requires the bytearray type instead of a string, both in python2 and python3. I don't know if this is a deal breaker, but any feedback is welcome :)