Skip to content

Comments

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

Closed
youknowone wants to merge 1 commit intoRustPython:mainfrom
youknowone:fix-pyfreeze
Closed

Fix py_freeze! to run library with __main__ without __init__#4581
youknowone wants to merge 1 commit intoRustPython:mainfrom
youknowone:fix-pyfreeze

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