From 502a13b4f03059d50c0bbb74a99f7a5f26ee449c Mon Sep 17 00:00:00 2001 From: Ulf Magnusson Date: Tue, 2 Jun 2015 23:49:55 +0200 Subject: Remove Psyco support. Psyco is dead, and there's PyPy now. --- kconfiglib.py | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'kconfiglib.py') 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) -- cgit v1.2.3