Py3K compatibility for #118.