Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r72092:f7ad4f75d93d
Date: 2014-06-17 15:51 -0700
http://bitbucket.org/pypy/pypy/changeset/f7ad4f75d93d/
Log: _utf8 is quasi-immutable
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
@@ -24,7 +24,7 @@
class W_UnicodeObject(W_Root):
import_from_mixin(StringMethods)
- _immutable_fields_ = ['_value']
+ _immutable_fields_ = ['_value', '_utf8?']
def __init__(w_self, unistr):
assert isinstance(unistr, unicode)
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit