[pypy-svn] r75033 - pypy/branch/unfreeze-encodings/pypy/module/_codecs

fijal at codespeak.net fijal at codespeak.net
Thu Jun 3 00:22:32 CEST 2010


Author: fijal
Date: Thu Jun  3 00:22:30 2010
New Revision: 75033

Modified:
   pypy/branch/unfreeze-encodings/pypy/module/_codecs/interp_codecs.py
Log:
This is the state I would like to achieve (breaks translation)


Modified: pypy/branch/unfreeze-encodings/pypy/module/_codecs/interp_codecs.py
==============================================================================
--- pypy/branch/unfreeze-encodings/pypy/module/_codecs/interp_codecs.py	(original)
+++ pypy/branch/unfreeze-encodings/pypy/module/_codecs/interp_codecs.py	Thu Jun  3 00:22:30 2010
@@ -52,6 +52,9 @@
                 return replace, newpos
         return unicode_call_errorhandler
 
+    def _freeze_(self):
+        assert not self.codec_search_path
+        return False
 
 def register_codec(space, w_search_function):
     """register(search_function)



More information about the Pypy-commit mailing list