pathencode: fix importing hashlib on Python 3...
pathencode: fix importing hashlib on Python 3
I'm curious why PyImport_Import is returning NULL, but
PyImport_ImportModule bypasses some of the regular import path,
probably including demandimport, which I suspect is the issue here.
Differential Revision:
https://phab.mercurial-scm.org/D3587