[pypy-svn] r79759 - pypy/branch/out-of-line-guards/pypy/interpreter
fijal at codespeak.net
fijal at codespeak.net
Thu Dec 2 18:41:56 CET 2010
Author: fijal
Date: Thu Dec 2 18:41:55 2010
New Revision: 79759
Modified:
pypy/branch/out-of-line-guards/pypy/interpreter/function.py
Log:
Those fields are actually immutable
Modified: pypy/branch/out-of-line-guards/pypy/interpreter/function.py
==============================================================================
--- pypy/branch/out-of-line-guards/pypy/interpreter/function.py (original)
+++ pypy/branch/out-of-line-guards/pypy/interpreter/function.py Thu Dec 2 18:41:55 2010
@@ -28,6 +28,8 @@
can_change_code = True
+ _immutable_fields_ = ['w_func_globals', 'closure']
+
def __init__(self, space, code, w_globals=None, defs_w=[], closure=None,
forcename=None):
self.space = space
More information about the Pypy-commit
mailing list