Author: Stephan <[email protected]>
Branch: 
Changeset: r254:8a3033b9e8cc
Date: 2012-06-05 18:32 +0200
http://bitbucket.org/pypy/lang-js/changeset/8a3033b9e8cc/

Log:    use unicode when convertint W_List to String

diff --git a/js/jsobj.py b/js/jsobj.py
--- a/js/jsobj.py
+++ b/js/jsobj.py
@@ -1345,7 +1345,7 @@
         return self.values
 
     def __str__(self):
-        return 'W_List(%s)' % ( str([str(v) for v in self.values]) )
+        return 'W_List(%s)' % ( unicode([unicode(v) for v in self.values]) )
 
 class W_Iterator(W_Root):
     def __init__(self, elements_w):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to