ENH: attempt to fix py3k