demandimport: blacklist pythoncom
authorSteve Borho <steve@borho.org>
Mon, 09 Mar 2009 21:00:37 -0500
changeset 7861 2bc14da14992
parent 7860 162fd31bbd93
child 7862 02981000012e
demandimport: blacklist pythoncom win32com.shell would segfault at import time if pythoncom was demand loaded.
mercurial/demandimport.py
--- a/mercurial/demandimport.py	Fri Mar 20 14:38:50 2009 -0500
+++ b/mercurial/demandimport.py	Mon Mar 09 21:00:37 2009 -0500
@@ -117,6 +117,7 @@
     '_xmlplus',
     'fcntl',
     'win32com.gen_py',
+    'pythoncom',
     # imported by tarfile, not available under Windows
     'pwd',
     'grp',