summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorOren Milman <orenmn@gmail.com>2017-08-25 18:14:54 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-08-25 18:14:54 (GMT)
commita5b4ea15b61e3f3985f4f0748a18f8b888a63532 (patch)
tree1fe8d1d522298d73105b17b9129e2a7c52ea2e00 /Misc
parentdce6502059f46a04f90938b9d832394c8215397b (diff)
downloadcpython-a5b4ea15b61e3f3985f4f0748a18f8b888a63532.zip
cpython-a5b4ea15b61e3f3985f4f0748a18f8b888a63532.tar.gz
cpython-a5b4ea15b61e3f3985f4f0748a18f8b888a63532.tar.bz2
bpo-31271: Fix an assertion failure in io.TextIOWrapper.write. (#3201)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2017-08-25-20-43-22.bpo-31271.YMduKF.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-08-25-20-43-22.bpo-31271.YMduKF.rst b/Misc/NEWS.d/next/Core and Builtins/2017-08-25-20-43-22.bpo-31271.YMduKF.rst
new file mode 100644
index 0000000..7bb7880
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2017-08-25-20-43-22.bpo-31271.YMduKF.rst
@@ -0,0 +1,2 @@
+Fix an assertion failure in the write() method of `io.TextIOWrapper`, when
+the encoder doesn't return a bytes object. Patch by Oren Milman.