blob: cc83155981d9485365405cf6bd5d3d21b69328d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Index: b/Lib/lib2to3/pgen2/driver.py
===================================================================
--- a/Lib/lib2to3/pgen2/driver.py
+++ b/Lib/lib2to3/pgen2/driver.py
@@ -122,7 +122,10 @@ def load_grammar(gt="Grammar.txt", gp=No
if force or not _newer(gp, gt):
logger.info("Generating grammar tables from %s", gt)
g = pgen.generate_grammar(gt)
- if save:
+ # the pickle files mismatch, when built on different architectures.
+ # don't save these for now. An alternative solution might be to
+ # include the multiarch triplet into the file name
+ if False:
logger.info("Writing grammar tables to %s", gp)
try:
g.dump(gp)
|