demandimport: add __future__ to ignore list
authorGregory Szorc <gregory.szorc@gmail.com>
Sat, 08 Aug 2015 17:12:37 -0700
changeset 25934 e283c5d922db
parent 25933 1fc6c02782ab
child 25935 49dd4fd3f283
demandimport: add __future__ to ignore list __future__ is special. We should definitely not be trying to lazy load it.
mercurial/demandimport.py
--- a/mercurial/demandimport.py	Sat Aug 08 15:01:27 2015 -0700
+++ b/mercurial/demandimport.py	Sat Aug 08 17:12:37 2015 -0700
@@ -145,6 +145,7 @@
         return mod
 
 ignore = [
+    '__future__',
     '_hashlib',
     '_xmlplus',
     'fcntl',