This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients Alexandre Hamelin, iritkatriel, serhiy.storchaka
Date 2021-09-02.20:38:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1630615082.24.0.224036484773.issue37694@roundup.psfhosted.org>
In-reply-to
Content
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'
History
Date User Action Args
2021-09-02 20:38:02iritkatrielsetrecipients: + iritkatriel, serhiy.storchaka, Alexandre Hamelin
2021-09-02 20:38:02iritkatrielsetmessageid: <1630615082.24.0.224036484773.issue37694@roundup.psfhosted.org>
2021-09-02 20:38:02iritkatriellinkissue37694 messages
2021-09-02 20:38:02iritkatrielcreate