◐ Shell
clean mode source ↗

Fix py_freeze! to run library with __main__ without __init__ by youknowone · Pull Request #4581 · RustPython/RustPython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@youknowone

Copy link Copy Markdown

Member

This fix enables wasi runs -m test

@coolreader18

Copy link Copy Markdown

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 Copy Markdown

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

Reviewers

@coolreader18 coolreader18 Awaiting requested review from coolreader18

@DimitrisJim DimitrisJim Awaiting requested review from DimitrisJim

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@youknowone @coolreader18