Author: Amaury Forgeot d'Arc <amaur...@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)
     }
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to