[pypy-svn] r48893 - pypy/dist/pypy/module/_codecs

cfbolz at codespeak.net cfbolz at codespeak.net
Wed Nov 21 12:09:27 CET 2007


Author: cfbolz
Date: Wed Nov 21 12:09:27 2007
New Revision: 48893

Modified:
   pypy/dist/pypy/module/_codecs/interp_codecs.py
Log:
fix CPython codecs tests


Modified: pypy/dist/pypy/module/_codecs/interp_codecs.py
==============================================================================
--- pypy/dist/pypy/module/_codecs/interp_codecs.py	(original)
+++ pypy/dist/pypy/module/_codecs/interp_codecs.py	Wed Nov 21 12:09:27 2007
@@ -218,7 +218,7 @@
 def make_decoder_wrapper(name):
     rname = "str_decode_%s" % (name.replace("_decode", ""), )
     assert hasattr(runicode, rname)
-    def wrap_decoder(space, string, errors="strict", w_final=True):
+    def wrap_decoder(space, string, errors="strict", w_final=False):
         final = space.is_true(w_final)
         state = space.fromcache(CodecState)
         func = getattr(runicode, rname)



More information about the Pypy-commit mailing list