[pypy-commit] pypy guard-compatible: fix version _immutable_fields_ declaration

cfbolz pypy.commits at gmail.com
Fri Mar 18 13:22:48 EDT 2016


Author: Carl Friedrich Bolz <cfbolz at gmx.de>
Branch: guard-compatible
Changeset: r83145:59f62a44d4cf
Date: 2016-03-18 18:22 +0100
http://bitbucket.org/pypy/pypy/changeset/59f62a44d4cf/

Log:	fix version _immutable_fields_ declaration

diff --git a/pypy/objspace/std/mapdict.py b/pypy/objspace/std/mapdict.py
--- a/pypy/objspace/std/mapdict.py
+++ b/pypy/objspace/std/mapdict.py
@@ -338,7 +338,7 @@
 
 
 class Terminator(AbstractAttribute):
-    _immutable_fields_ = ['w_cls', 'version?']
+    _immutable_fields_ = ['w_cls']
 
     def __init__(self, space, w_cls):
         if w_cls is None or w_cls._version_tag is None:


More information about the pypy-commit mailing list