Steve Dower added the comment:

It also breaks .zip file distribution, which I'm fairly sure we do explicitly 
support by virtue of having "python36.zip" in sys.path by default. And the 
".pyc-only in a zip file" distribution is *totally* busted :) (and also 
officially released for Windows...)

I'm dragging in an importlib expert to the discussion, probably against his 
will, since this is really a problem of "how do I programmatically discover 
what I can import without using os.listdir()". Hopefully Brett can answer that 
question and we can come up with a patch.

----------
nosy: +brett.cannon, steve.dower

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

Reply via email to