summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorOren Milman <orenmn@gmail.com>2017-09-24 18:27:12 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-09-24 18:27:12 (GMT)
commit91fb0afe181986b48abfc6092dcca912b39de51d (patch)
tree39c1f5061e7e3184cd52f5aab3ca56c37cf14e3d /Misc
parent8337239d792bc2098c592def5fc3af84c3b0dfd1 (diff)
downloadcpython-91fb0afe181986b48abfc6092dcca912b39de51d.zip
cpython-91fb0afe181986b48abfc6092dcca912b39de51d.tar.gz
cpython-91fb0afe181986b48abfc6092dcca912b39de51d.tar.bz2
bpo-31285: Fix an assertion failure and a SystemError in warnings.warn_explicit. (#3219)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2017-08-27-21-18-30.bpo-31285.7lzaKV.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-08-27-21-18-30.bpo-31285.7lzaKV.rst b/Misc/NEWS.d/next/Core and Builtins/2017-08-27-21-18-30.bpo-31285.7lzaKV.rst
new file mode 100644
index 0000000..61f2c4e
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2017-08-27-21-18-30.bpo-31285.7lzaKV.rst
@@ -0,0 +1,3 @@
+Fix an assertion failure in `warnings.warn_explicit`, when the return value
+of the received loader's get_source() has a bad splitlines() method. Patch
+by Oren Milman.