[pypy-commit] pypy py3k: fix the flow objspace

antocuni noreply at buildbot.pypy.org
Mon Sep 3 14:25:13 CEST 2012


Author: Antonio Cuni <anto.cuni at gmail.com>
Branch: py3k
Changeset: r57095:ac21a2a132c3
Date: 2012-09-03 14:24 +0200
http://bitbucket.org/pypy/pypy/changeset/ac21a2a132c3/

Log:	fix the flow objspace

diff --git a/pypy/objspace/flow/objspace.py b/pypy/objspace/flow/objspace.py
--- a/pypy/objspace/flow/objspace.py
+++ b/pypy/objspace/flow/objspace.py
@@ -137,6 +137,9 @@
             return val
         return self.unwrap(w_obj)
 
+    identifier_w = str_w # RPython interprets Python2, where identifier_w is
+                         # equivalent to str_w
+
     def unicode_w(self, w_obj):
         if isinstance(w_obj, Constant):
             val = w_obj.value


More information about the pypy-commit mailing list