demandimport: add 'nt' to ignore list (issue5373)
pathlib2 tries to import nt. Since it is a built-in module, there should be
no performance penalty.
https://github.com/mcmtroffaes/pathlib2/blob/release/2.2.0/pathlib2.py#L33
--- a/mercurial/demandimport.py Tue Sep 27 22:36:00 2016 +0900
+++ b/mercurial/demandimport.py Tue Sep 27 21:56:00 2016 +0900
@@ -264,6 +264,7 @@
'_imp',
'_xmlplus',
'fcntl',
+ 'nt', # pathlib2 tests the existence of built-in 'nt' module
'win32com.gen_py',
'_winreg', # 2.7 mimetypes needs immediate ImportError
'pythoncom',