summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-09-27 04:38:03 (GMT)
committerGitHub <noreply@github.com>2017-09-27 04:38:03 (GMT)
commit90fe25a051bd8cf64d52be533c9b60cad9bdd7fb (patch)
tree48e970eec5fd39ccd8f26e576fdeb3a1a0fae3f9 /Misc
parentbdb215b18a42360b6a9c82876fa71f19ca1a416d (diff)
downloadcpython-90fe25a051bd8cf64d52be533c9b60cad9bdd7fb.zip
cpython-90fe25a051bd8cf64d52be533c9b60cad9bdd7fb.tar.gz
cpython-90fe25a051bd8cf64d52be533c9b60cad9bdd7fb.tar.bz2
[3.6] bpo-31285: Fix an assertion failure and a SystemError in warnings.warn_explicit. (GH-3219) (#3775)
(cherry picked from commit 91fb0afe181986b48abfc6092dcca912b39de51d)
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.