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 steve.dower
Recipients hyu, ned.deily, paul.moore, serhiy.storchaka, steve.dower, tim.golden, zach.ware
Date 2018-12-27.20:16:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1545941784.71.0.104344810484.issue35596@roundup.psfhosted.org>
In-reply-to
Content
Okay, this looks like a zipimport issue. When I extract the "python37.zip" file containing the stdlib and reference the directory it works fine. But no matter what I do to the ZIP I can't get it to run.

It seems that zipimport either can't import .pyc files without a matching .py, or it can't import packages marked with __init__.pyc (I haven't gone deep enough, but adding encodings/__init__.py got me further).

This is a regression from 3.7.1.

Things to do:
* fix the regression (Serhiy?)
* add a regression test
* add a ".pyc-only stdlib in ZIP" test (I'll do this)
* remove the double vcruntime in ZIP issue (unrelated, so I'll just fix it)
History
Date User Action Args
2018-12-27 20:16:27steve.dowersetrecipients: + steve.dower, paul.moore, tim.golden, ned.deily, zach.ware, serhiy.storchaka, hyu
2018-12-27 20:16:24steve.dowersetmessageid: <1545941784.71.0.104344810484.issue35596@roundup.psfhosted.org>
2018-12-27 20:16:24steve.dowerlinkissue35596 messages
2018-12-27 20:16:24steve.dowercreate