summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlf Magnusson <ulfalizer@gmail.com>2015-06-02 23:49:55 +0200
committerUlf Magnusson <ulfalizer@gmail.com>2015-06-02 23:49:55 +0200
commit502a13b4f03059d50c0bbb74a99f7a5f26ee449c (patch)
tree349b5241e829e73e2a6917683c623edffce5a61c
parent850a3ae1c3d59823335b3c0406de1a878af53870 (diff)
Remove Psyco support.
Psyco is dead, and there's PyPy now.
-rw-r--r--kconfiglib.py15
1 files changed, 0 insertions, 15 deletions
diff --git a/kconfiglib.py b/kconfiglib.py
index 1f5421e..d472ef9 100644
--- a/kconfiglib.py
+++ b/kconfiglib.py
@@ -66,12 +66,6 @@ Send bug reports, suggestions and other feedback to ulfalizer a.t Google's
email service. Don't wrestle with internal APIs. Tell me what you need and I
might add it in a safe way as a client API instead."""
-# If you have Psyco installed (32-bit installations, Python <= 2.6 only),
-# setting this to True (right here, not at runtime) might give a nice speedup.
-# (22% faster for parsing arch/x86/Kconfig and 58% faster for evaluating all
-# symbols in it without a .config on my Core Duo.)
-use_psyco = False
-
import os
import re
import string
@@ -3814,12 +3808,3 @@ def _internal_error(msg):
"and the stack trace and describe what you were doing."
raise Internal_Error, msg
-
-if use_psyco:
- import psyco
-
- Config._tokenize = psyco.proxy(Config._tokenize)
- Config._eval_expr = psyco.proxy(Config._eval_expr)
-
- _indentation = psyco.proxy(_indentation)
- _get_lines = psyco.proxy(_get_lines)