From: Brian Behlendorf Date: Sun, 6 Jan 2019 18:41:16 +0000 (-0800) Subject: Python 2 and 3 compatibility X-Git-Tag: zfs-0.8.0-rc3~20 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c87db591967507de027d6bb0c683ffd09dd70105;p=zfs 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 Reviewed-by: Neal Gompa Reviewed-by: loli10K Reviewed-by: Brian Behlendorf Reviewed-by: John Wren Kennedy Reviewed-by: Antonio Russo Closes #8096 --- c87db591967507de027d6bb0c683ffd09dd70105