summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorOren Milman <orenmn@gmail.com>2017-08-29 17:40:15 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2017-08-29 17:40:15 (GMT)
commit631fdee6e61b4ba8ce800f827fecdd536bfb04f3 (patch)
tree739bc09153527ad7bde3f5c98587cc13c2353080 /Misc
parent006617ff7d6df3fdedcfe53e94ee2c52cc796437 (diff)
downloadcpython-631fdee6e61b4ba8ce800f827fecdd536bfb04f3.zip
cpython-631fdee6e61b4ba8ce800f827fecdd536bfb04f3.tar.gz
cpython-631fdee6e61b4ba8ce800f827fecdd536bfb04f3.tar.bz2
bpo-31291: Fixed an assertion failure in zipimport.zipimporter.get_data() (#3226)
if pathname.replace('/', '\\') returns non-string.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2017-08-28-11-51-29.bpo-31291.t8QggK.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2017-08-28-11-51-29.bpo-31291.t8QggK.rst b/Misc/NEWS.d/next/Core and Builtins/2017-08-28-11-51-29.bpo-31291.t8QggK.rst
new file mode 100644
index 0000000..0576785
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2017-08-28-11-51-29.bpo-31291.t8QggK.rst
@@ -0,0 +1,3 @@
+Fix an assertion failure in `zipimport.zipimporter.get_data` on Windows,
+when the return value of ``pathname.replace('/','\\')`` isn't a string.
+Patch by Oren Milman.