[pypy-commit] pypy py3.3: For some reason this chunk was not copied from CPython 3.3

amauryfa pypy.commits at gmail.com
Sun Jan 31 16:37:30 EST 2016


Author: Amaury Forgeot d'Arc <amauryfa at gmail.com>
Branch: py3.3
Changeset: r82015:b28c0f7ae8f3
Date: 2016-01-31 21:27 +0100
http://bitbucket.org/pypy/pypy/changeset/b28c0f7ae8f3/

Log:	For some reason this chunk was not copied from CPython 3.3

diff --git a/pypy/module/_multibytecodec/src/cjkcodecs/_codecs_tw.c b/pypy/module/_multibytecodec/src/cjkcodecs/_codecs_tw.c
--- a/pypy/module/_multibytecodec/src/cjkcodecs/_codecs_tw.c
+++ b/pypy/module/_multibytecodec/src/cjkcodecs/_codecs_tw.c
@@ -55,7 +55,7 @@
         TRYMAP_DEC(big5, **outbuf, c, IN2) {
             NEXT(2, 1)
         }
-        else return 2;
+        else return 1;
     }
 
     return 0;
@@ -109,7 +109,7 @@
 
         TRYMAP_DEC(cp950ext, **outbuf, c, IN2);
         else TRYMAP_DEC(big5, **outbuf, c, IN2);
-        else return 2;
+        else return 1;
 
         NEXT(2, 1)
     }


More information about the pypy-commit mailing list