Author: Alex Gaynor <[email protected]>
Branch: jit-settrace
Changeset: r67587:a05179d6070b
Date: 2013-10-24 14:34 -0700
http://bitbucket.org/pypy/pypy/changeset/a05179d6070b/

Log:    This is quasi-immutable

diff --git a/pypy/interpreter/executioncontext.py 
b/pypy/interpreter/executioncontext.py
--- a/pypy/interpreter/executioncontext.py
+++ b/pypy/interpreter/executioncontext.py
@@ -310,6 +310,9 @@
     the GIL.  And whether we have threads or not, it is forced to zero
     whenever we fire any of the asynchronous actions.
     """
+
+    _immutable_fields_ = ["checkinterval_scaled?"]
+
     def __init__(self):
         self._periodic_actions = []
         self._nonperiodic_actions = []
diff --git a/pypy/interpreter/test/test_eval.py 
b/pypy/interpreter/test/test_eval.py
--- a/pypy/interpreter/test/test_eval.py
+++ b/pypy/interpreter/test/test_eval.py
@@ -27,7 +27,6 @@
 
         self.f = ConcreteFastscopeFrame(self.space, code, numlocals=5)
 
-
     def test_fast2locals(self):
         space = self.space
         w = space.wrap
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to