diff hgeditor @ 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 2b440bb8a66b
children 1aee2ab0f902
line wrap: on
line diff