python 3 interoperability