Author: Stephan <[email protected]>
Branch:
Changeset: r297:2c91b00ad550
Date: 2012-09-04 15:47 +0200
http://bitbucket.org/pypy/lang-js/changeset/2c91b00ad550/
Log: mark ObjectEnvironmentRecord._binding_object_ immutable
diff --git a/js/environment_record.py b/js/environment_record.py
--- a/js/environment_record.py
+++ b/js/environment_record.py
@@ -133,6 +133,8 @@
class ObjectEnvironmentRecord(EnvironmentRecord):
+ _immutable_fields_ = ['binding_object']
+
provide_this = False
def __init__(self, obj, provide_this=False):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit