##// END OF EJS Templates
mercurial: use pure Python module policy on Python 3...
Gregory Szorc -
r28513:859af6e7 default
parent child Browse files
Show More
@@ -35,6 +35,11 b' except ImportError:'
35 35 if '__pypy__' in sys.builtin_module_names:
36 36 modulepolicy = 'py'
37 37
38 # Our C extensions aren't yet compatible with Python 3. So use pure Python
39 # on Python 3 for now.
40 if sys.version_info[0] >= 3:
41 modulepolicy = 'py'
42
38 43 # Environment variable can always force settings.
39 44 modulepolicy = os.environ.get('HGMODULEPOLICY', modulepolicy)
40 45
General Comments 0
You need to be logged in to leave comments. Login now