mercurial/policy.py
changeset 32251 a04f5c651e52
parent 32210 56148133ef36
child 32366 8e0327dae3f4
--- a/mercurial/policy.py	Thu May 11 14:52:02 2017 -0700
+++ b/mercurial/policy.py	Wed Apr 26 23:02:43 2017 +0900
@@ -18,8 +18,10 @@
 #    cffi-allow - allow pure Python implementation if cffi version is missing
 #    py - only load pure Python modules
 #
-# By default, require the C extensions for performance reasons.
-policy = b'c'
+# By default, fall back to the pure modules so the in-place build can
+# run without recompiling the C extensions. This will be overridden by
+# __modulepolicy__ generated by setup.py.
+policy = b'allow'
 policynoc = (b'cffi', b'cffi-allow', b'py')
 policynocffi = (b'c', b'py')