]> granicus.if.org Git - python/commit
[3.6] bpo-31291: Fixed an assertion failure in zipimport.zipimporter.get_data() ...
authorOren Milman <orenmn@gmail.com>
Wed, 30 Aug 2017 11:08:39 +0000 (14:08 +0300)
committerSerhiy Storchaka <storchaka@gmail.com>
Wed, 30 Aug 2017 11:08:39 +0000 (14:08 +0300)
commit095a421b1606ee27e00a5d9d253b05a9f0cfadb8
tree8c5710eab63528c40b12216317eaa49bd8aa96b2
parent2d1653aa43cf02e6b74f9d4f178fac9969a293e2
[3.6] bpo-31291: Fixed an assertion failure in zipimport.zipimporter.get_data() (GH-3226) (#3243)

if pathname.replace('/', '\\') returns non-string.
(cherry picked from commit 631fdee6e61b4ba8ce800f827fecdd536bfb04f3)
Lib/test/test_zipimport.py
Misc/NEWS.d/next/Core and Builtins/2017-08-28-11-51-29.bpo-31291.t8QggK.rst [new file with mode: 0644]
Modules/zipimport.c