summaryrefslogtreecommitdiff
path: root/packages/python/python-2.5.2/default-is-optimized.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/python/python-2.5.2/default-is-optimized.patch')
-rw-r--r--packages/python/python-2.5.2/default-is-optimized.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/python/python-2.5.2/default-is-optimized.patch b/packages/python/python-2.5.2/default-is-optimized.patch
new file mode 100644
index 0000000000..6beeb6e022
--- /dev/null
+++ b/packages/python/python-2.5.2/default-is-optimized.patch
@@ -0,0 +1,13 @@
+Index: Python-2.5.1/Python/compile.c
+===================================================================
+--- Python-2.5.1.orig/Python/compile.c
++++ Python-2.5.1/Python/compile.c
+@@ -30,7 +30,7 @@
+ #include "symtable.h"
+ #include "opcode.h"
+
+-int Py_OptimizeFlag = 0;
++int Py_OptimizeFlag = 1;
+
+ /*
+ ISSUES: