This is not Python 3 compatible. I think you can just import it from `conda.compat`