[pypy-svn] r48287 - in pypy/dist/pypy: module/_sre objspace/std

fijal at codespeak.net fijal at codespeak.net
Sun Nov 4 15:18:12 CET 2007


Author: fijal
Date: Sun Nov  4 15:18:11 2007
New Revision: 48287

Modified:
   pypy/dist/pypy/module/_sre/interp_sre.py
   pypy/dist/pypy/objspace/std/formatting.py
Log:
Mute some more warnings about harmless demotion


Modified: pypy/dist/pypy/module/_sre/interp_sre.py
==============================================================================
--- pypy/dist/pypy/module/_sre/interp_sre.py	(original)
+++ pypy/dist/pypy/module/_sre/interp_sre.py	Sun Nov  4 15:18:11 2007
@@ -114,6 +114,9 @@
     def fset_string_position(space, self, w_value):
         self.start = space.int_w(w_value)
 
+    def get_char_ord(self, p):
+        raise NotImplementedError
+
 getset_start = GetSetProperty(W_State.fget_start, W_State.fset_start, cls=W_State)
 getset_string_position = GetSetProperty(W_State.fget_string_position,
                                      W_State.fset_string_position, cls=W_State)

Modified: pypy/dist/pypy/objspace/std/formatting.py
==============================================================================
--- pypy/dist/pypy/objspace/std/formatting.py	(original)
+++ pypy/dist/pypy/objspace/std/formatting.py	Sun Nov  4 15:18:11 2007
@@ -125,6 +125,8 @@
                     "formatted float is too long (precision too large?)"))
         self.std_wp_number(r)
 
+    def std_wp_number(self, r, prefix=''):
+        raise NotImplementedError
 
 def make_formatter_subclass(do_unicode):
     # to build two subclasses of the BaseStringFormatter class,



More information about the Pypy-commit mailing list