[issue32866] zipimport loader.get_data() requires absolute zip file path

2019-01-17 Thread Nina Zakharenko
Change by Nina Zakharenko : -- nosy: +nnja ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32866] zipimport loader.get_data() requires absolute zip file path

2019-01-17 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I believe this bug does not affect Python 3.8: (Using a Python 3.8 virtualenv): % python demo.pyz Reading: resource.txt Length: 19 % python `pwd`/demo.pyz Reading: resource.txt Length: 19 I think it's too risky (and too much work, given it would have to

[issue32866] zipimport loader.get_data() requires absolute zip file path

2018-09-19 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: zipimport has been rewritten in pure Python (issue25711). -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue32866] zipimport loader.get_data() requires absolute zip file path

2018-02-17 Thread Barry A. Warsaw
New submission from Barry A. Warsaw : Over in https://gitlab.com/python-devs/importlib_resources/issues/48 we have a report of a FileNotFoundError when trying to read a resource from a zip file. Upon further debugging, I found that zipimport's loader.get_data() raises an