]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-35062: Fix parsing _io.IncrementalNewlineDecoder's *translate* argument. (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 31 Oct 2018 12:37:06 +0000 (05:37 -0700)
committerGitHub <noreply@github.com>
Wed, 31 Oct 2018 12:37:06 +0000 (05:37 -0700)
commit05acd44ad6b61adb24571eb0203de7b25c7e869b
tree809ccfbffd983aa92f3eb9b476eae19039c9a52b
parentbc6f74a520112d25ef40324e3de4e8187ff2835d
bpo-35062: Fix parsing _io.IncrementalNewlineDecoder's *translate* argument. (GH-10217)

_io.IncrementalNewlineDecoder's initializer possibly assigns out-of-range
value to the bitwise struct field.
(cherry picked from commit b08746bfdf64e55ce33516f2065fa2aa4f51be95)

Co-authored-by: Xiang Zhang <angwerzx@126.com>
Lib/test/test_io.py
Misc/NEWS.d/next/Library/2018-10-29-23-09-24.bpo-35062.dQS1ng.rst [new file with mode: 0644]
Modules/_io/textio.c