Author: Armin Rigo <[email protected]>
Branch: py3k
Changeset: r86943:628ba5d9a6f8
Date: 2016-09-07 16:44 +0100
http://bitbucket.org/pypy/pypy/changeset/628ba5d9a6f8/

Log:    Fix: _utf8 cannot be a quasi-immutable. Will document why and do a
        proper fix

diff --git a/pypy/objspace/std/unicodeobject.py 
b/pypy/objspace/std/unicodeobject.py
--- a/pypy/objspace/std/unicodeobject.py
+++ b/pypy/objspace/std/unicodeobject.py
@@ -25,7 +25,7 @@
 
 class W_UnicodeObject(W_Root):
     import_from_mixin(StringMethods)
-    _immutable_fields_ = ['_value', '_utf8?']
+    _immutable_fields_ = ['_value']
 
     def __init__(self, unistr):
         assert isinstance(unistr, unicode)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to