Skip to content

Fix py_freeze! to run library with __main__ without __init__ #4581

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

youknowone
Copy link
Member

This fix enables wasi runs -m test

@coolreader18
Copy link
Member

It seems like CPython just has a dummy file as Lib/test/__init__.py? It seems like __init__-less packages are deprecated, or at least the code enabling them is marked as a backwards-compatibility hack

@youknowone
Copy link
Member Author

oh, i missed that. Thank you!

@youknowone youknowone closed this Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants