Message312296
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 unexpected OSError. Interestingly, if the path to the zip file is absolute, everything works as expected, but if the path is relative, then it fails.
There's probably a missing abspath() in there somewhere, but as zipimport is written in C, I really didn't spend much time digging around in gdb. |
|
Date |
User |
Action |
Args |
2018-02-18 02:49:21 | barry | set | recipients:
+ barry |
2018-02-18 02:49:21 | barry | set | messageid: <1518922161.55.0.467229070634.issue32866@psf.upfronthosting.co.za> |
2018-02-18 02:49:21 | barry | link | issue32866 messages |
2018-02-18 02:49:20 | barry | create | |
|