[pypy-commit] pypy faster-nested-scopes: after discussion with armin: cannot use a quasiimmutable field for cells after all.
noreply at buildbot.pypy.org
Wed Aug 31 16:45:03 CEST 2011
Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Date: 2011-08-31 16:41 +0200
Log: after discussion with armin: cannot use a quasiimmutable field for
cells after all.
the main reason is that this is a very subtle problem when we
introduce py3 (which has the nonlocal keyword).
diff --git a/pypy/interpreter/nestedscope.py b/pypy/interpreter/nestedscope.py
@@ -8,7 +8,6 @@
"A simple container for a wrapped value."
- _immutable_fields_ = ["w_value?"]
def __init__(self, w_value=None):
self.w_value = w_value
More information about the pypy-commit