Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r53951:e491dca2c28c
Date: 2012-03-23 17:56 +0100
http://bitbucket.org/pypy/pypy/changeset/e491dca2c28c/

Log:    add w_unicode to the FakeObjSpace, it's needed for translating
        itertools

diff --git a/pypy/objspace/fake/objspace.py b/pypy/objspace/fake/objspace.py
--- a/pypy/objspace/fake/objspace.py
+++ b/pypy/objspace/fake/objspace.py
@@ -290,7 +290,7 @@
                  ObjSpace.ExceptionTable +
                  ['int', 'str', 'float', 'long', 'tuple', 'list',
                   'dict', 'bytes', 'complex', 'slice', 'bool',
-                  'type', 'text', 'object']):
+                  'type', 'text', 'object', 'unicode']):
         setattr(FakeObjSpace, 'w_' + name, w_some_obj())
     #
     for (name, _, arity, _) in ObjSpace.MethodTable:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to