Fork with a focus on Python3 compatibility.