--- a/mercurial/statprof.py Sun Oct 06 13:17:19 2019 -0400 +++ b/mercurial/statprof.py Sun Oct 06 13:28:56 2019 -0400 @@ -114,6 +114,7 @@ import threading import time +from .pycompat import open from . import ( encoding, pycompat,