support: Py 3 compatibility