Author: Armin Rigo <[email protected]>
Branch: stm-gc
Changeset: r52676:b58347084ebb
Date: 2012-02-20 14:17 +0100
http://bitbucket.org/pypy/pypy/changeset/b58347084ebb/

Log:    Fix.

diff --git a/pypy/rpython/memory/gctypelayout.py 
b/pypy/rpython/memory/gctypelayout.py
--- a/pypy/rpython/memory/gctypelayout.py
+++ b/pypy/rpython/memory/gctypelayout.py
@@ -428,7 +428,7 @@
                 appendto = self.addresses_of_static_ptrs
             else:
                 return
-        elif hasattr(TYPE, "_hints") and TYPE._hints.get('thread_local'):
+        elif hasattr(TYPE, "_hints") and TYPE._hints.get('stm_thread_local'):
             # The exception data's value object is skipped: it's a thread-
             # local data structure.  We assume that objects are stored
             # only temporarily there, so it is always cleared at the point
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to