Irit Katriel <iritkatr...@gmail.com> added the comment:

I think that
(1) the patch is not worded very clearly
(2) the docs should not reference py2exe for instructions how to do something

Perhaps it would suffice to change the sentence:

Any files may be present in the ZIP archive, but only files .py and .pyc are 
available for import

to:

Any files may be present in the ZIP archive, but the importer is only invoked 
for .py and .pyc files

?

----------
keywords: +easy
nosy: +iritkatriel
status: open -> pending
title: Document if zipimport can respect import hooks to load custom files from 
zip. -> [doc] Clarify that zipimport does not invoke import hooks to load 
custom files from zip.
type:  -> enhancement
versions: +Python 3.10, Python 3.11, Python 3.9 -Python 3.4, Python 3.5, Python 
3.6, Python 3.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue28816>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to