[issue31291] zipimport.zipimporter.get_data() crashes when path.replace() returns a non-str

2017-08-30 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue31291] zipimport.zipimporter.get_data() crashes when path.replace() returns a non-str

2017-08-30 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 095a421b1606ee27e00a5d9d253b05a9f0cfadb8 by Serhiy Storchaka (Oren Milman) in branch '3.6': [3.6] bpo-31291: Fixed an assertion failure in zipimport.zipimporter.get_data() (GH-3226) (#3243)

[issue31291] zipimport.zipimporter.get_data() crashes when path.replace() returns a non-str

2017-08-30 Thread Oren Milman
Changes by Oren Milman : -- pull_requests: +3287 ___ Python tracker ___ ___

[issue31291] zipimport.zipimporter.get_data() crashes when path.replace() returns a non-str

2017-08-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 631fdee6e61b4ba8ce800f827fecdd536bfb04f3 by Serhiy Storchaka (Oren Milman) in branch 'master': bpo-31291: Fixed an assertion failure in zipimport.zipimporter.get_data() (#3226)

[issue31291] zipimport.zipimporter.get_data() crashes when path.replace() returns a non-str

2017-08-28 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Oren already fixed several similar problems and he is aware of difference between a crash and an exception. The problem is Windows specific. The current code uses Unicode C API with the result of calling the replace method. This can cause a segfault (or may

[issue31291] zipimport.zipimporter.get_data() crashes when path.replace() returns a non-str

2017-08-28 Thread Brett Cannon
Changes by Brett Cannon : -- title: an assertion failure in zipimport.zipimporter.get_data() -> zipimport.zipimporter.get_data() crashes when path.replace() returns a non-str ___ Python tracker