[pypy-commit] pypy stmgc-c8: fix

Raemi pypy.commits at gmail.com
Tue Feb 23 05:00:13 EST 2016


Author: Remi Meier <remi.meier at gmail.com>
Branch: stmgc-c8
Changeset: r82419:52371edbd322
Date: 2016-02-23 10:59 +0100
http://bitbucket.org/pypy/pypy/changeset/52371edbd322/

Log:	fix

diff --git a/pypy/module/thread/__init__.py b/pypy/module/thread/__init__.py
--- a/pypy/module/thread/__init__.py
+++ b/pypy/module/thread/__init__.py
@@ -27,7 +27,7 @@
         prev_ec = space.threadlocals.get_ec()
         if space.config.translation.stm:
             from pypy.module.thread import stm
-            space.threadlocals = stm.STMThreadLocals()
+            space.threadlocals = stm.STMThreadLocals(space)
         else:
             from pypy.module.thread import gil
             space.threadlocals = gil.GILThreadLocals(space)


More information about the pypy-commit mailing list