python 2/3 compat: this will have to do for now.