[pypy-svn] r48450 - in pypy/branch/pypy-rpython-unicode: annotation objspace/flow

fijal at codespeak.net fijal at codespeak.net
Thu Nov 8 22:38:01 CET 2007


Author: fijal
Date: Thu Nov  8 22:38:00 2007
New Revision: 48450

Modified:
   pypy/branch/pypy-rpython-unicode/annotation/unaryop.py
   pypy/branch/pypy-rpython-unicode/objspace/flow/operation.py
Log:
Remove unichr as spaceop


Modified: pypy/branch/pypy-rpython-unicode/annotation/unaryop.py
==============================================================================
--- pypy/branch/pypy-rpython-unicode/annotation/unaryop.py	(original)
+++ pypy/branch/pypy-rpython-unicode/annotation/unaryop.py	Thu Nov  8 22:38:00 2007
@@ -205,11 +205,6 @@
 
     def invert(self):
         return SomeInteger(knowntype=self.knowntype)
-
-    def unichr(obj):
-        getbookkeeper().count('unichr', obj)
-        return SomeUnicodeCodePoint()
-
     invert.can_only_throw = []
 
     def pos(self):

Modified: pypy/branch/pypy-rpython-unicode/objspace/flow/operation.py
==============================================================================
--- pypy/branch/pypy-rpython-unicode/objspace/flow/operation.py	(original)
+++ pypy/branch/pypy-rpython-unicode/objspace/flow/operation.py	Thu Nov  8 22:38:00 2007
@@ -149,7 +149,6 @@
     ('issubtype',       issubclass),
     ('repr',            repr),
     ('str',             str),
-    ('unichr',          unichr),
     ('unicode',         unicode),
     ('len',             len),
     ('hash',            hash),



More information about the Pypy-commit mailing list