[pypy-commit] pypy default: Partial backout of ab7580454b32.
arigo
noreply at buildbot.pypy.org
Sat Aug 10 22:51:31 CEST 2013
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r66067:85607df22ea3
Date: 2013-08-10 22:50 +0200
http://bitbucket.org/pypy/pypy/changeset/85607df22ea3/
Log: Partial backout of ab7580454b32.
diff --git a/rpython/memory/gc/env.py b/rpython/memory/gc/env.py
--- a/rpython/memory/gc/env.py
+++ b/rpython/memory/gc/env.py
@@ -131,13 +131,8 @@
# ---------- Linux2 ----------
-try:
- ARCH = os.uname()[4] # machine
-except (OSError, AttributeError):
- ARCH = ''
-
def get_L2cache_linux2():
- arch = ARCH # precomputed; the call to os.uname() is not translated
+ arch = os.uname()[4] # machine
if arch.endswith('86') or arch == 'x86_64':
return get_L2cache_linux2_cpuinfo()
if arch in ('alpha', 'ppc', 'ppc64'):
More information about the pypy-commit
mailing list