Message400954
Closing as 2.7 and 3.6 are no longer maintained, and you say the crash was gone in 3.7+.
On 3.11 it indeed doesn't crash:
>>> zipimport.zipimporter.__new__(zipimport.zipimporter).find_module('')
<frozen zipimport>:158: DeprecationWarning: zipimporter.find_module() is deprecated and slated for removal in Python 3.12; use find_spec() instead
<frozen zipimport>:122: DeprecationWarning: zipimporter.find_loader() is deprecated and slated for removal in Python 3.12; use find_spec() instead
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<frozen zipimport>", line 161, in find_module
File "<frozen zipimport>", line 125, in find_loader
File "<frozen zipimport>", line 372, in _get_module_info
File "<frozen zipimport>", line 359, in _get_module_path
AttributeError: 'zipimporter' object has no attribute 'prefix' |
|
Date |
User |
Action |
Args |
2021-09-02 20:38:02 | iritkatriel | set | recipients:
+ iritkatriel, serhiy.storchaka, Alexandre Hamelin |
2021-09-02 20:38:02 | iritkatriel | set | messageid: <1630615082.24.0.224036484773.issue37694@roundup.psfhosted.org> |
2021-09-02 20:38:02 | iritkatriel | link | issue37694 messages |
2021-09-02 20:38:02 | iritkatriel | create | |
|