mirror_zfs/contrib/pyzfs/libzfs_core
Antonio Russo 9de8c0cd7f pyzfs: python3 support (library 1/2)
These changes are efficient and valid in python 2 and 3. For the
most part, they are also pythonic.

* 2to3 conversion
* add __future__ imports
* iterator changes
* integer division
* relative import fixes

Reviewed-by: John Ramsden <johnramsden@riseup.net>
Reviewed-by: Neal Gompa <ngompa@datto.com>
Reviewed-by: loli10K <ezomori.nozomu@gmail.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Antonio Russo <antonio.e.russo@gmail.com>
Closes #8096
2019-01-06 10:39:41 -08:00
..
bindings pyzfs: python3 support (library 1/2) 2019-01-06 10:39:41 -08:00
test pyzfs: python3 support (library 1/2) 2019-01-06 10:39:41 -08:00
__init__.py pyzfs: python3 support (library 1/2) 2019-01-06 10:39:41 -08:00
_constants.py pyzfs: python3 support (library 1/2) 2019-01-06 10:39:41 -08:00
_error_translation.py pyzfs: python3 support (library 1/2) 2019-01-06 10:39:41 -08:00
_libzfs_core.py pyzfs: python3 support (library 1/2) 2019-01-06 10:39:41 -08:00
_nvlist.py pyzfs: python3 support (library 1/2) 2019-01-06 10:39:41 -08:00
ctypes.py pyzfs: python3 support (library 1/2) 2019-01-06 10:39:41 -08:00
exceptions.py pyzfs: python3 support (library 1/2) 2019-01-06 10:39:41 -08:00