Author: Carl Friedrich Bolz <cfb...@gmx.de>
Branch: value-profiling
Changeset: r79066:7c0aabb3b2ba
Date: 2015-08-19 18:35 +0200
http://bitbucket.org/pypy/pypy/changeset/7c0aabb3b2ba/

Log:    need the same here

diff --git a/pypy/interpreter/eval.py b/pypy/interpreter/eval.py
--- a/pypy/interpreter/eval.py
+++ b/pypy/interpreter/eval.py
@@ -9,7 +9,7 @@
 class Code(W_Root):
     """A code is a compiled version of some source code.
     Abstract base class."""
-    _immutable_ = True
+    _immutable_fields_ = ['fast_natural_arity', 'co_name', 'hidden_applevel']
     hidden_applevel = False
 
     # n >= 0 : arity
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to