]> granicus.if.org Git - python/commit
bpo-33578: Fix getstate/setstate for CJK decoder (GH-10290)
authorChristopher Thorne <libcthorne@users.noreply.github.com>
Fri, 2 Nov 2018 03:29:40 +0000 (03:29 +0000)
committerINADA Naoki <methane@users.noreply.github.com>
Fri, 2 Nov 2018 03:29:40 +0000 (12:29 +0900)
commit488c0a6cdf09e21774e63c2a430ecc0de804d147
tree2bcddc07c0880a2a9ec20edaddae469bce743287
parent318ab63c01f5b8e7562b122ab5ba01258a51277b
bpo-33578: Fix getstate/setstate for CJK decoder (GH-10290)

Previous version was casting to Py_ssize_t incorrectly
and exhibited unexpected behavior on big-endian systems.
Lib/test/test_multibytecodec.py
Modules/cjkcodecs/multibytecodec.c