summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2018-10-31 12:36:34 (GMT)
committerGitHub <noreply@github.com>2018-10-31 12:36:34 (GMT)
commit907b07ee31a657914dafb0a6b7fa724be0f8d8ac (patch)
tree9033cfe09315aa7092c23b1e9703e1f078ffaa21 /Misc/NEWS.d
parent00093f61b38c01045b71a27eef0ff64a69188e8f (diff)
downloadcpython-907b07ee31a657914dafb0a6b7fa724be0f8d8ac.zip
cpython-907b07ee31a657914dafb0a6b7fa724be0f8d8ac.tar.gz
cpython-907b07ee31a657914dafb0a6b7fa724be0f8d8ac.tar.bz2
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>
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Library/2018-10-29-23-09-24.bpo-35062.dQS1ng.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2018-10-29-23-09-24.bpo-35062.dQS1ng.rst b/Misc/NEWS.d/next/Library/2018-10-29-23-09-24.bpo-35062.dQS1ng.rst
new file mode 100644
index 0000000..b77ed86
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2018-10-29-23-09-24.bpo-35062.dQS1ng.rst
@@ -0,0 +1,2 @@
+Fix incorrect parsing of :class:`_io.IncrementalNewlineDecoder`'s
+*translate* argument.