Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r62307:96b51bbaa8eb
Date: 2013-03-12 00:08 -0700
http://bitbucket.org/pypy/pypy/changeset/96b51bbaa8eb/

Log:    partially revert 78c50cd0ed82: this belongs in asdl_py.py

diff --git a/pypy/interpreter/astcompiler/ast.py 
b/pypy/interpreter/astcompiler/ast.py
--- a/pypy/interpreter/astcompiler/ast.py
+++ b/pypy/interpreter/astcompiler/ast.py
@@ -6190,8 +6190,7 @@
     if not w_self.initialization_state & 4:
         typename = space.type(w_self).getname(space)
         raise operationerrfmt(space.w_AttributeError, "'%s' object has no 
attribute '%s'", typename, 'id')
-    id_ = w_self.id.decode('utf-8')
-    return space.wrap(id_)
+    return space.wrap(w_self.id)
 
 def Name_set_id(space, w_self, w_new_value):
     try:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to