Py3k cross compatibility.