[PATCH 1 of 2] demandimport: blacklist pythoncom
Steve Borho
steve at borho.org
Mon Mar 9 21:14:38 CDT 2009
# HG changeset patch
# User Steve Borho <steve at borho.org>
# Date 1236650437 18000
# Node ID 57fa116520f56e5ea21e65489586388787f7b335
# Parent 55bd03e2e13c65eeb7175abfc60f9a6ef5e6f0f4
demandimport: blacklist pythoncom
win32com.shell would segfault at import time if pythoncom
was demand loaded.
diff --git a/mercurial/demandimport.py b/mercurial/demandimport.py
--- a/mercurial/demandimport.py
+++ b/mercurial/demandimport.py
@@ -117,6 +117,7 @@
'_xmlplus',
'fcntl',
'win32com.gen_py',
+ 'pythoncom',
# imported by tarfile, not available under Windows
'pwd',
'grp',
More information about the Mercurial-devel
mailing list