Steve Dower <steve.do...@python.org> added the comment:

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)

----------
nosy: +ned.deily, serhiy.storchaka
priority: normal -> release blocker
stage:  -> test needed
type:  -> crash

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

Reply via email to