##// END OF EJS Templates
demandimport: ignore resource module, not available under Windows.
Patrick Mezard -
r5098:0bbd86b8 default
parent child Browse files
Show More
@@ -108,7 +108,18 b' def _demandimport(name, globals=None, lo'
108 setattr(mod, x, _demandmod(x, mod.__dict__, locals))
108 setattr(mod, x, _demandmod(x, mod.__dict__, locals))
109 return mod
109 return mod
110
110
111 ignore = ['_hashlib', '_xmlplus', 'fcntl', 'win32com.gen_py', 'pwd', 'grp']
111 ignore = [
112 '_hashlib',
113 '_xmlplus',
114 'fcntl',
115 'win32com.gen_py',
116 # imported by tarfile, not available under Windows
117 'pwd',
118 'grp',
119 # imported by profile, itself imported by hotshot.stats,
120 # not available under Windows
121 'resource',
122 ]
112
123
113 def enable():
124 def enable():
114 "enable global demand-loading of modules"
125 "enable global demand-loading of modules"
General Comments 0
You need to be logged in to leave comments. Login now