[pypy-commit] pypy py3k: Revert this change, at least until we have proper support for unicode identifiers.

amauryfa noreply at buildbot.pypy.org
Tue Mar 20 00:40:31 CET 2012


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
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()
 


More information about the pypy-commit mailing list