mercurial/demandimport.py
changeset 9458 ffeaf5ba25d8
parent 9315 fb66a7d3f28f
child 10242 ecd0a5c8bbe5
equal deleted inserted replaced
9456:c564dbb2a6d5 9458:ffeaf5ba25d8
   125     'pwd',
   125     'pwd',
   126     'grp',
   126     'grp',
   127     # imported by profile, itself imported by hotshot.stats,
   127     # imported by profile, itself imported by hotshot.stats,
   128     # not available under Windows
   128     # not available under Windows
   129     'resource',
   129     'resource',
       
   130     # this trips up many extension authors
       
   131     'gtk',
   130     ]
   132     ]
   131 
   133 
   132 def enable():
   134 def enable():
   133     "enable global demand-loading of modules"
   135     "enable global demand-loading of modules"
   134     __builtin__.__import__ = _demandimport
   136     __builtin__.__import__ = _demandimport