[pypy-svn] r48447 - pypy/branch/pypy-rpython-unicode/objspace

fijal at codespeak.net fijal at codespeak.net
Thu Nov 8 22:07:26 CET 2007


Author: fijal
Date: Thu Nov  8 22:07:25 2007
New Revision: 48447

Modified:
   pypy/branch/pypy-rpython-unicode/objspace/descroperation.py
Log:
Remove unichr() and unicode() from descroperatoin


Modified: pypy/branch/pypy-rpython-unicode/objspace/descroperation.py
==============================================================================
--- pypy/branch/pypy-rpython-unicode/objspace/descroperation.py	(original)
+++ pypy/branch/pypy-rpython-unicode/objspace/descroperation.py	Thu Nov  8 22:07:25 2007
@@ -291,12 +291,6 @@
         if w_del is not None:
             space.get_and_call_function(w_del, w_obj)
 
-    def unichr(space, w_obj):
-        raise NotImplementedError
-
-    def unicode(space, w_obj):
-        raise NotImplementedError
-
     def cmp(space, w_v, w_w):
 
         if space.is_w(w_v, w_w):
@@ -598,7 +592,7 @@
             setattr(DescrOperation,_name,_impl_maker(_symbol,_specialnames))
         elif _name not in ['is_', 'id','type','issubtype',
                            # not really to be defined in DescrOperation
-                           'ord']:
+                           'ord', 'unichr', 'unicode']:
             raise Exception, "missing def for operation %s" % _name
             
             



More information about the Pypy-commit mailing list