# HG changeset patch # User Gregory Szorc # Date 2015-08-09 00:12:37 # Node ID e283c5d922db4160e5aeb0f4fc5012f88df60eca # Parent 1fc6c02782ab85d599745373f53878f6aa552f56 demandimport: add __future__ to ignore list __future__ is special. We should definitely not be trying to lazy load it. diff --git a/mercurial/demandimport.py b/mercurial/demandimport.py --- a/mercurial/demandimport.py +++ b/mercurial/demandimport.py @@ -145,6 +145,7 @@ def _demandimport(name, globals=None, lo return mod ignore = [ + '__future__', '_hashlib', '_xmlplus', 'fcntl',