Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r57038:00505d943dc1
Date: 2012-08-30 17:29 +0200
http://bitbucket.org/pypy/pypy/changeset/00505d943dc1/

Log:    backout 6a591d00373a, we no longer want unicode

diff --git a/pypy/annotation/description.py b/pypy/annotation/description.py
--- a/pypy/annotation/description.py
+++ b/pypy/annotation/description.py
@@ -182,7 +182,7 @@
         if signature is None:
             if hasattr(pyobj, '_generator_next_method_of_'):
                 from pypy.interpreter.argument import Signature
-                signature = Signature([u'entry'])     # haaaaaack
+                signature = Signature(['entry'])     # haaaaaack
                 defaults = ()
             else:
                 signature = cpython_code_signature(pyobj.func_code)
diff --git a/pypy/translator/generator.py b/pypy/translator/generator.py
--- a/pypy/translator/generator.py
+++ b/pypy/translator/generator.py
@@ -178,7 +178,7 @@
                            Constant(AssertionError("bad generator class"))],
                           graph.exceptblock))
     graph.startblock = regular_entry_block
-    graph.signature = Signature([u'entry'])
+    graph.signature = Signature(['entry'])
     graph.defaults = ()
     checkgraph(graph)
     eliminate_empty_blocks(graph)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to