Mercurial > cpython-lru_cache-weakref
diff Modules/_codecsmodule.c @ 39359:82f56207652f legacy-trunk
Correction of patch #1455898: In the mbcs decoder, set final=False
for stream decoder, but final=True for the decode function.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Wed, 02 Aug 2006 13:53:55 +0000 |
| parents | 549c547700af |
| children | e11caad7e029 |
line wrap: on
line diff
--- a/Modules/_codecsmodule.c Wed Aug 02 12:00:13 2006 +0000 +++ b/Modules/_codecsmodule.c Wed Aug 02 13:53:55 2006 +0000 @@ -481,7 +481,7 @@ const char *data; Py_ssize_t size, consumed; const char *errors = NULL; - int final = 1; + int final = 0; PyObject *decoded; if (!PyArg_ParseTuple(args, "t#|zi:mbcs_decode",
