[issue31143] lib2to3 requires source files for fixes

Steve Dower report at bugs.python.org
Thu Aug 10 11:04:54 EDT 2017


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 <report at bugs.python.org>
<http://bugs.python.org/issue31143>
_______________________________________


More information about the Python-bugs-list mailing list