Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3k
Changeset: r53822:6d83002cf464
Date: 2012-03-19 23:22 +0100
http://bitbucket.org/pypy/pypy/changeset/6d83002cf464/
Log: Revert this change, at least until we have proper support for
unicode identifiers.
diff --git a/pypy/objspace/std/objspace.py b/pypy/objspace/std/objspace.py
--- a/pypy/objspace/std/objspace.py
+++ b/pypy/objspace/std/objspace.py
@@ -49,7 +49,11 @@
self.FrameClass = frame.build_frame(self)
- self.StringObjectCls = W_UnicodeObject
+ # XXX use W_UnicodeObject when identifiers really support unicode
+ if self.config.objspace.std.withrope:
+ self.StringObjectCls = W_RopeObject
+ else:
+ self.StringObjectCls = W_StringObject
self._install_multimethods()
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit