[pypy-commit] pypy default: Bug fix in the absence of 'thread'.
arigo
noreply at buildbot.pypy.org
Fri Apr 20 14:06:41 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r54576:e59cb3b60396
Date: 2012-04-20 13:53 +0200
http://bitbucket.org/pypy/pypy/changeset/e59cb3b60396/
Log: Bug fix in the absence of 'thread'.
diff --git a/lib_pypy/_ctypes/builtin.py b/lib_pypy/_ctypes/builtin.py
--- a/lib_pypy/_ctypes/builtin.py
+++ b/lib_pypy/_ctypes/builtin.py
@@ -3,7 +3,8 @@
try:
from thread import _local as local
except ImportError:
- local = object # no threads
+ class local(object): # no threads
+ pass
class ConvMode:
encoding = 'ascii'
More information about the pypy-commit
mailing list