]> git.proxmox.com Git - mirror_zfs.git/commit
Python 2 and 3 compatibility
authorBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 6 Jan 2019 18:41:16 +0000 (10:41 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Sun, 6 Jan 2019 18:54:12 +0000 (10:54 -0800)
commitc87db591967507de027d6bb0c683ffd09dd70105
treee308115e563c7011194dc55d4f3bd65c0ec664b1
parent0b8e4418b615eb6e46d409b3de61bfffe1000c68
parentdffce3c282f74991e740c1e1887001fe059fe05a
Python 2 and 3 compatibility

With Python 2 (slowly) approaching EOL and its removal from distribitions
already being planned (Fedora), the existing Python 2 code needs to be
transitioned to Python 3.  This patch stack updates the Python code to
be compatible with Python 2.7, 3.4, 3.5, 3.6, and 3.7.

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>
Reviewed-by: John Wren Kennedy <john.kennedy@delphix.com>
Reviewed-by: Antonio Russo <antonio.e.russo@gmail.com>
Closes #8096