comparison mercurial/parser.py @ 25674:5d0847cd1587

demandimport: support importing builtins for Python 3 __builtin__ was renamed to builtins in Python 3. If importing __builtin__ fails, fall back to importing builtins in order to support Python 3.
author Gregory Szorc <gregory.szorc@gmail.com>
date Sat, 27 Jun 2015 17:31:06 -0700
parents b8b73652c1c9
children 48919d246a47
comparison
equal deleted inserted replaced
25673:fa1f04529775 25674:5d0847cd1587